summaryrefslogtreecommitdiffstats
path: root/packaging/Solaris/x86/samba.init
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Solaris/x86/samba.init')
-rwxr-xr-xpackaging/Solaris/x86/samba.init34
1 files changed, 0 insertions, 34 deletions
diff --git a/packaging/Solaris/x86/samba.init b/packaging/Solaris/x86/samba.init
deleted file mode 100755
index 6a742440890..00000000000
--- a/packaging/Solaris/x86/samba.init
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-#
-if [ ! -d /usr/bin ]; then
- echo "The /usr file system is not mounted."
- exit 1
-fi
-
-killproc() {
- pid=`/bin/ps ax | grep -w $1 | sed -e 's/^ *//' -e 's/ .*//'`
- echo "Stopping $1 now."
- [ "$pid" != "" ] && kill -15 $pid
- echo $pid
-}
-
-
-# Start/stop processes required for samba server
-
-case "$1" in
-
- 'start')
- echo "Starting Samba"
- /usr/local/samba/bin/smbd
- /usr/local/samba/bin/nmbd
- echo "Done."
- ;;
- 'stop')
- killproc smbd
- killproc nmbd
- ;;
- *)
- echo "Usage: /sbin/init.d/samba.init [ start | stop ]"
- ;;
-esac
-exit 0