diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-06 08:45:11 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-06 08:45:11 +0000 |
commit | 73281af4d137533d84ab57a40a548a5f0fb56bb9 (patch) | |
tree | 55c36b96a393de7070a42aff9956eebe103488f1 /main/util-vserver/alpine.patch | |
parent | 975f1475c36b7994ec614ab09b083c4f91d2720d (diff) | |
download | aports-73281af4d137533d84ab57a40a548a5f0fb56bb9.tar.bz2 aports-73281af4d137533d84ab57a40a548a5f0fb56bb9.tar.xz |
main/*-vserver: move from testing
good enough for main now
Diffstat (limited to 'main/util-vserver/alpine.patch')
-rw-r--r-- | main/util-vserver/alpine.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/main/util-vserver/alpine.patch b/main/util-vserver/alpine.patch new file mode 100644 index 000000000..eacc2cb62 --- /dev/null +++ b/main/util-vserver/alpine.patch @@ -0,0 +1,26 @@ +Index: distrib/alpine/initpost +=================================================================== +--- a/distrib/alpine/initpost (revision 2855) ++++ b/distrib/alpine/initpost (working copy) +@@ -1,6 +1,6 @@ + #!/bin/bash + +-# Copyright (C) 2007 Natanael Copa <ncopa@alpinelinux.org> ++# Copyright (C) 2007, 2009 Natanael Copa <ncopa@alpinelinux.org> + # + # This program is free software; you can redistribute it and/or modify + # it under the terms of the GNU General Public License as published by +@@ -37,7 +37,12 @@ + $_VSERVER "$vserver" stop &>/dev/null || true + $_VSERVER "$vserver" start --rescue --rescue-init /bin/busybox sh -c ' + /bin/busybox --install -s +- /sbin/rc_add -s 20 -k syslog ++ if [ -x /sbin/rc-update ]; then ++ /sbin/rc-update add syslog boot ++ /bin/rmdir /etc/rcL.d /etc/rcK.d ++ else ++ /sbin/rc_add -s 20 -k syslog ++ fi + ' + + # set up hostname |