summaryrefslogtreecommitdiffstats
path: root/packaging/Solaris/samba.init.master
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>2005-05-14 01:21:18 +0000
committerJohn Terpstra <jht@samba.org>2005-05-14 01:21:18 +0000
commitdce76e650b2fa6c356f654afc156ab3235efd924 (patch)
tree06b5f5448f35f41fa7448b81013476c037d99419 /packaging/Solaris/samba.init.master
parent4076cc171ef07bd48f6a3e425d38c9be09f7643f (diff)
downloadsamba-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-xpackaging/Solaris/samba.init.master19
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