aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-baselayout/alpine-baselayout.post-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'main/alpine-baselayout/alpine-baselayout.post-upgrade')
-rw-r--r--main/alpine-baselayout/alpine-baselayout.post-upgrade4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/alpine-baselayout/alpine-baselayout.post-upgrade b/main/alpine-baselayout/alpine-baselayout.post-upgrade
index 0010c9bbc7..6a4918e910 100644
--- a/main/alpine-baselayout/alpine-baselayout.post-upgrade
+++ b/main/alpine-baselayout/alpine-baselayout.post-upgrade
@@ -21,8 +21,8 @@ __EOF__
}
# create compat start/stop scripts for vserver guests
-if [ "$(/sbin/rc --sys)" != "VSERVER" ]; then
- # create rcL and rcK|
+if [ "$(/sbin/rc --sys)" = "VSERVER" ]; then
+ # create rcL and rcK
if ! [ -e /etc/init.d/rcL ]; then
create_vserver_startstop > /etc/init.d/rcL
fi