Fix update-rc.d invocations.
[util-vserver.git] / debian / util-vserver-legacy.postinst
index 3d98fba..f57bbae 100755 (executable)
@@ -1,9 +1,12 @@
 #!/bin/sh
 
 if test "$1" = configure; then
-    update-rc.d rebootmgr start 98 2 3 4 5 stop 02 0 1 6 .
-    update-rc.d vservers-legacy start 98 2 3 4 5 stop 02 0 1 6 .
+    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 .
     for i in httpd named portmap sendmail smb sshd xinetd gated; do
-       update-rc.d v_$i start 98 2 3 4 5 stop 02 0 1 6 .
+       update-rc.d v_$i start 98 2 3 4 5 .
+        update-rc.d v_$i stop 02 0 1 6 .
     done
 fi