summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-fs/samba/files/svc-samba')
-rwxr-xr-xnet-fs/samba/files/svc-samba44
1 files changed, 0 insertions, 44 deletions
diff --git a/net-fs/samba/files/svc-samba b/net-fs/samba/files/svc-samba
deleted file mode 100755
index c713c8a214e3..000000000000
--- a/net-fs/samba/files/svc-samba
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-#RCUPDATE:3 4:76:This line is required for script management
-
-. /etc/rc.d/config/functions
-
-SERVICE=svc-samba
-opts="start stop"
-
-start() {
- ebegin "Starting $SERVICE"
- if [ ! -e ${SVCDIR}/control/smbd ]
- then
- ln -sf ../services/smbd ${SVCDIR}/control/smbd
- fi
- if [ ! -e ${SVCDIR}/control/nmbd ]
- then
- ln -sf ../services/nmbd ${SVCDIR}/control/nmbd
- fi
- /usr/bin/svc -u ${SVCDIR}/control/smbd
- /usr/bin/svc -u ${SVCDIR}/control/nmbd
- eend $?
-}
-
-stop() {
- ebegin "Stopping $SERVICE"
- if [ -e ${SVCDIR}/control/smbd ]
- then
- /usr/bin/svc -dx ${SVCDIR}/control/smbd/log
- /usr/bin/svc -dx ${SVCDIR}/control/smbd
-# rm ${SVCDIR}/control/smbd
- fi
- if [ -e ${SVCDIR}/control/nmbd ]
- then
- /usr/bin/svc -dx ${SVCDIR}/control/nmbd/log
- /usr/bin/svc -dx ${SVCDIR}/control/nmbd
-# rm ${SVCDIR}/control/nmbd
- fi
- eend $?
-}
-
-doservice ${@}
-
-
-