r12397: Change the 'samba4' prefix in the Debian packages back to 'samba'
[bbaumbach/samba-autobuild/.git] / packaging / debian / samba-server.samba.init
similarity index 86%
rename from packaging/debian/samba4-server.samba4.init
rename to packaging/debian/samba-server.samba.init
index 0c8b8a069af0a9f93c775aa6dfcc1d2b5ac6f2c0..9b276dd65828bf78340c84e4610afb9c6bafcf06 100644 (file)
@@ -5,13 +5,13 @@
 # Adapted from the Samba 3 packages.
 #
 
-SMBDPID=/var/run/samba4/smbd.pid
+SMBDPID=/var/run/samba/smbd.pid
 
 # clear conflicting settings from the environment
 unset TMPDIR
 
 # See if the daemon and the config file are there
-test -x /usr/sbin/smbd -a -r /etc/samba4/smb.conf || exit 0
+test -x /usr/sbin/smbd -a -r /etc/samba/smb.conf || exit 0
 
 . /lib/lsb/init-functions
 
@@ -55,7 +55,7 @@ case "$1" in
                $0 start
                ;;
        *)
-               echo "Usage: /etc/init.d/samba4 {start|stop|reload|restart|force-reload}"
+               echo "Usage: /etc/init.d/samba {start|stop|reload|restart|force-reload}"
                exit 1
                ;;
 esac