summaryrefslogtreecommitdiffstats
path: root/testing/util-vserver/alpine.patch
blob: a9914a4b8403f2d7e3bec42cbad25a37a2e0d195 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -ru a/distrib/alpine/initpost b/distrib/alpine/initpost
--- a/distrib/alpine/initpost	2009-10-02 18:36:00.000000000 +0000
+++ b/distrib/alpine/initpost	2009-10-02 18:42:35.000000000 +0000
@@ -24,7 +24,7 @@
 cd "$vdir"
 
 echo ">>> Creating missing dirs..."
-$_CHROOT_SH mkdir proc sys dev home etc etc/rcL.d etc/rcK.d 2>/dev/null
+$_CHROOT_SH mkdir -p proc sys dev home etc 2>/dev/null
 
 # remove mtab which is a link
 if test -e "$vdir/etc/mtab"; then
@@ -37,7 +37,7 @@
 $_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
+	/sbin/rc-update add syslog boot
 '
 
 # set up hostname