svn commit: samba r8381 - in branches/SAMBA_3_0_RELEASE: examples/svr4-startup packaging/sysv

jerry at samba.org jerry at samba.org
Tue Jul 12 16:03:54 GMT 2005


Author: jerry
Date: 2005-07-12 16:03:53 +0000 (Tue, 12 Jul 2005)
New Revision: 8381

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8381

Log:
moving sysv init script to packaging
Added:
   branches/SAMBA_3_0_RELEASE/packaging/sysv/samba.init
Removed:
   branches/SAMBA_3_0_RELEASE/examples/svr4-startup/samba.server


Changeset:
Deleted: branches/SAMBA_3_0_RELEASE/examples/svr4-startup/samba.server
===================================================================
--- branches/SAMBA_3_0_RELEASE/examples/svr4-startup/samba.server	2005-07-12 16:03:24 UTC (rev 8380)
+++ branches/SAMBA_3_0_RELEASE/examples/svr4-startup/samba.server	2005-07-12 16:03:53 UTC (rev 8381)
@@ -1,38 +0,0 @@
-#!/bin/sh
-#ident  "@(#)samba.server 1.0   96/06/19 TK"    /* SVr4.0 1.1.13.1*/
-#
-# Please send info on modifications to knuutila at cs.utu.fi
-#
-# This file should have uid root, gid sys and chmod 744
-#
-if [ ! -d /usr/bin ]
-then                    # /usr not mounted
-        exit
-fi
-
-killproc() {            # kill the named process(es)
-        pid=`/usr/bin/ps -e |
-             /usr/bin/grep -w $1 |
-             /usr/bin/sed -e 's/^  *//' -e 's/ .*//'`
-        [ "$pid" != "" ] && kill $pid
-}
-
-# Start/stop processes required for samba server
-
-case "$1" in
-
-'start')
-#
-# Edit these lines to suit your installation (paths, workgroup, host)
-#
-   /opt/samba/bin/smbd -D -s/opt/samba/smb.conf
-   /opt/samba/bin/nmbd -D -l/opt/samba/log -s/opt/samba/smb.conf
-   ;;
-'stop')
-   killproc nmbd
-   killproc smbd
-   ;;
-*)
-   echo "Usage: /etc/init.d/samba.server { start | stop }"
-   ;;
-esac

Copied: branches/SAMBA_3_0_RELEASE/packaging/sysv/samba.init (from rev 8379, branches/SAMBA_3_0_RELEASE/examples/svr4-startup/samba.server)
===================================================================
--- branches/SAMBA_3_0_RELEASE/examples/svr4-startup/samba.server	2005-07-12 15:57:27 UTC (rev 8379)
+++ branches/SAMBA_3_0_RELEASE/packaging/sysv/samba.init	2005-07-12 16:03:53 UTC (rev 8381)
@@ -0,0 +1,37 @@
+#!/bin/sh
+#
+# Copyright (c) Timo Knuutila <knuutila at cs.utu.fi>     1996.
+#
+# This file should have uid root, gid sys and chmod 744
+#
+if [ ! -d /usr/bin ]
+then                    # /usr not mounted
+        exit
+fi
+
+killproc() {            # kill the named process(es)
+        pid=`/usr/bin/ps -e |
+             /usr/bin/grep -w $1 |
+             /usr/bin/sed -e 's/^  *//' -e 's/ .*//'`
+        [ "$pid" != "" ] && kill $pid
+}
+
+# Start/stop processes required for samba server
+
+case "$1" in
+
+'start')
+#
+# Edit these lines to suit your installation (paths, workgroup, host)
+#
+   /opt/samba/bin/smbd -D -s/opt/samba/smb.conf
+   /opt/samba/bin/nmbd -D -l/opt/samba/log -s/opt/samba/smb.conf
+   ;;
+'stop')
+   killproc nmbd
+   killproc smbd
+   ;;
+*)
+   echo "Usage: /etc/init.d/samba.server { start | stop }"
+   ;;
+esac



More information about the samba-cvs mailing list