[Pkg-samba-maint] r3705 - in trunk/samba: . debian

jelmer at alioth.debian.org jelmer at alioth.debian.org
Sat Mar 12 17:11:07 UTC 2011


Author: jelmer
Date: 2011-03-12 17:11:05 +0000 (Sat, 12 Mar 2011)
New Revision: 3705

Modified:
   trunk/samba/
   trunk/samba/debian/changelog
   trunk/samba/debian/samba.if-up
Log:
debian/samba.if-up: Use invoke-rc.d.

Modified: trunk/samba/debian/changelog
===================================================================
--- trunk/samba/debian/changelog	2011-03-12 17:10:53 UTC (rev 3704)
+++ trunk/samba/debian/changelog	2011-03-12 17:11:05 UTC (rev 3705)
@@ -3,8 +3,9 @@
   * Add libwbclient-dev package.
   * Build against external libtdb.
   * Bump standards version to 3.9.1 (no changes).
+  * debian/samba.if-up: Use invoke-rc.d.
 
- -- Jelmer Vernooij <jelmer at debian.org>  Sat, 12 Mar 2011 17:48:19 +0100
+ -- Jelmer Vernooij <jelmer at debian.org>  Sat, 12 Mar 2011 17:50:02 +0100
 
 samba (2:3.5.8~dfsg-1) unstable; urgency=low
 

Modified: trunk/samba/debian/samba.if-up
===================================================================
--- trunk/samba/debian/samba.if-up	2011-03-12 17:10:53 UTC (rev 3704)
+++ trunk/samba/debian/samba.if-up	2011-03-12 17:11:05 UTC (rev 3705)
@@ -21,13 +21,13 @@
 		;;
 esac
 
-status=$(/etc/init.d/samba status)
+status=$(invoke-rc.d samba status)
 
 # Really only necessary to do anything if nmbd is not already running
 if echo "$status" | grep -q 'smbd is running' \
    && ! echo "$status" | grep -q 'nmbd is running'
 then
-	/etc/init.d/samba start
+	invoke-rc.d samba start
 fi
 
 exit 0





More information about the Pkg-samba-maint mailing list