[Pkg-sysvinit-commits] r1264 - in sysvinit/trunk/debian: . sysv-rc/etc/init.d

pere at alioth.debian.org pere at alioth.debian.org
Tue Apr 1 06:26:54 UTC 2008


Author: pere
Date: 2008-04-01 06:26:53 +0000 (Tue, 01 Apr 2008)
New Revision: 1264

Modified:
   sysvinit/trunk/debian/changelog
   sysvinit/trunk/debian/sysv-rc/etc/init.d/rc
Log:
  * Avoid bashism in init.d/rc (Closes: #473694).

Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog	2008-03-26 09:11:04 UTC (rev 1263)
+++ sysvinit/trunk/debian/changelog	2008-04-01 06:26:53 UTC (rev 1264)
@@ -1,3 +1,9 @@
+sysvinit (2.86.ds1-56) UNRELEASED; urgency=low
+
+  * Avoid bashism in init.d/rc (Closes: #473694).
+
+ -- Petter Reinholdtsen <pere at debian.org>  Tue,  1 Apr 2008 08:26:26 +0200
+
 sysvinit (2.86.ds1-55) unstable; urgency=low
 
   * Use $(MAKE) instead of make in debian/rules, to make it easier to

Modified: sysvinit/trunk/debian/sysv-rc/etc/init.d/rc
===================================================================
--- sysvinit/trunk/debian/sysv-rc/etc/init.d/rc	2008-03-26 09:11:04 UTC (rev 1263)
+++ sysvinit/trunk/debian/sysv-rc/etc/init.d/rc	2008-04-01 06:26:53 UTC (rev 1264)
@@ -106,8 +106,8 @@
     test -s /etc/init.d/.depend.boot  || CONCURRENCY="none"
     test -s /etc/init.d/.depend.start || CONCURRENCY="none"
     test -s /etc/init.d/.depend.stop  || CONCURRENCY="none"
-    type -p startpar &> /dev/null     || CONCURRENCY="none"
-    startpar -v      &> /dev/null     || CONCURRENCY="none"
+    type -p startpar > /dev/null 2>&1 || CONCURRENCY="none"
+    startpar -v      > /dev/null 2>&1 || CONCURRENCY="none"
 
     # startpar do not work properly at the start of rcS.d/.  Avoid it.
     # See #457896 for details.




More information about the Pkg-sysvinit-commits mailing list