diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-04-19 12:24:48 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-04-19 12:26:36 +0000 |
commit | 57d682c40381668ba64b3249820c1d9a9c0a8428 (patch) | |
tree | 06f8a40c35a121f5980eed4e11a96cfecfbdf02b /main/alpine-baselayout/alpine-baselayout.post-upgrade | |
parent | 16de7fb39f0e327b98454b0655e10166b524eff6 (diff) | |
download | aports-57d682c40381668ba64b3249820c1d9a9c0a8428.tar.bz2 aports-57d682c40381668ba64b3249820c1d9a9c0a8428.tar.xz |
main/alpine-baselayout: fix previous commit
we should install the compat rc{L,S} scripts if vserver
Diffstat (limited to 'main/alpine-baselayout/alpine-baselayout.post-upgrade')
-rw-r--r-- | main/alpine-baselayout/alpine-baselayout.post-upgrade | 4 |
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 0010c9bbc..6a4918e91 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 |