Fix update-rc.d invocations.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Fri, 4 Feb 2011 12:41:31 +0000 (12:41 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Fri, 4 Feb 2011 12:41:31 +0000 (12:41 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2931 94cd875c-1c1d-0410-91d2-eb244daf1a30

debian/util-vserver-legacy.postinst
debian/util-vserver-sysv.postinst

index f57bbae..2b20048 100755 (executable)
@@ -1,12 +1,9 @@
 #!/bin/sh
 
 if test "$1" = configure; then
-    update-rc.d rebootmgr start 98 2 3 4 5 .
-    update-rc.d rebootmgr stop 02 0 1 6 .
-    update-rc.d vservers-legacy start 98 2 3 4 5 .
-    update-rc.d vservers-legacy stop 02 0 1 6 .
+    update-rc.d rebootmgr start 98 2 3 4 5 . 02 0 1 6 .
+    update-rc.d vservers-legacy start 98 2 3 4 5 . stop 02 0 1 6 .
     for i in httpd named portmap sendmail smb sshd xinetd gated; do
-       update-rc.d v_$i start 98 2 3 4 5 .
-        update-rc.d v_$i stop 02 0 1 6 .
+       update-rc.d v_$i start 98 2 3 4 5 . stop 02 0 1 6 .
     done
 fi
index c3c6e51..8aa9cc4 100755 (executable)
@@ -1,10 +1,7 @@
 #!/bin/sh
 
 if test "$1" = configure; then
-    update-rc.d vservers-default start 98 2 3 4 5 .
-    update-rc.d vservers-default stop 02 0 1 6 .
-    update-rc.d vprocunhide start 26 2 3 4 5 .
-    update-rc.d vprocunhide stop 74 0 1 6 .
-    update-rc.d util-vserver start 10 2 3 4 5 .
-    update-rc.d util-vserver stop 90 0 1 6 .
+    update-rc.d vservers-default start 98 2 3 4 5 . stop 02 0 1 6 .
+    update-rc.d vprocunhide start 26 2 3 4 5 . stop 74 0 1 6 .
+    update-rc.d util-vserver start 10 2 3 4 5 . stop 90 0 1 6 .
 fi