summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'util-vserver/patches/0.30.210-r10/util-vserver-0.30.210-remove-init-style-gentoo.patch')
-rw-r--r--util-vserver/patches/0.30.210-r10/util-vserver-0.30.210-remove-init-style-gentoo.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/util-vserver/patches/0.30.210-r10/util-vserver-0.30.210-remove-init-style-gentoo.patch b/util-vserver/patches/0.30.210-r10/util-vserver-0.30.210-remove-init-style-gentoo.patch
new file mode 100644
index 0000000..7fabe46
--- /dev/null
+++ b/util-vserver/patches/0.30.210-r10/util-vserver-0.30.210-remove-init-style-gentoo.patch
@@ -0,0 +1,15 @@
+Index: util-vserver-0.30.210/scripts/vserver.functions
+===================================================================
+--- util-vserver-0.30.210.orig/scripts/vserver.functions
++++ util-vserver-0.30.210/scripts/vserver.functions
+@@ -292,9 +292,7 @@ function _generateInitOptions
+ ;;
+
+ (xgentoo)
+- INITCMD_START=( /sbin/rc default )
+- INITCMD_STOP=( /sbin/rc shutdown )
+- ;;
++ panic "init-style '$INITSTYLE' is no longer supported; please use plain instead; aborting";;
+
+ (x) ;;
+ (*) panic "Unknown init-style '$INITSTYLE'; aborting";;