diff options
author | John Terpstra <jht@samba.org> | 2005-05-14 01:21:18 +0000 |
---|---|---|
committer | John Terpstra <jht@samba.org> | 2005-05-14 01:21:18 +0000 |
commit | dce76e650b2fa6c356f654afc156ab3235efd924 (patch) | |
tree | 06b5f5448f35f41fa7448b81013476c037d99419 /packaging/Solaris/samba.init.master | |
parent | 4076cc171ef07bd48f6a3e425d38c9be09f7643f (diff) | |
download | samba-dce76e650b2fa6c356f654afc156ab3235efd924.tar.gz samba-dce76e650b2fa6c356f654afc156ab3235efd924.tar.xz samba-dce76e650b2fa6c356f654afc156ab3235efd924.zip |
r6783: Fixes for Solaris 9.
Diffstat (limited to 'packaging/Solaris/samba.init.master')
-rwxr-xr-x | packaging/Solaris/samba.init.master | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/packaging/Solaris/samba.init.master b/packaging/Solaris/samba.init.master index d8bea2421c3..61e222bd200 100755 --- a/packaging/Solaris/samba.init.master +++ b/packaging/Solaris/samba.init.master @@ -24,10 +24,14 @@ case "$1" in 'start') # # Edit these lines to suit your installation (paths, workgroup, host) +# Add the following parameters to nmbd, smbd, winbindd if needed +# (this may be needed for custom file locations) +# -D -s$BASE/lib/smb.conf # - BASE=__BASEDIR__/samba - $BASE/bin/smbd -D -s$BASE/lib/smb.conf - $BASE/bin/nmbd -D -s$BASE/lib/smb.conf + BASE=__BASEDIR__ + $BASE/sbin/nmbd + $BASE/sbin/smbd + $BASE/sbin/winbindd ;; 'stop') killproc nmbd @@ -37,12 +41,13 @@ case "$1" in 'restart') killproc nmbd killproc smbd - BASE=__BASEDIR__/samba - $BASE/bin/smbd -D -s$BASE/lib/smb.conf - $BASE/bin/nmbd -D -l$BASE/var/log -s$BASE/lib/smb.conf + BASE=__BASEDIR__ + $BASE/sbin/nmbd + $BASE/sbin/smbd + $BASE/sbin/winbindd ;; *) - echo "Usage: /etc/init.d/samba.server { start | stop | restart }" + echo "Usage: /etc/init.d/samba { start | stop | restart }" ;; esac |