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')
l---------[-rw-r--r--]main/alpine-baselayout/alpine-baselayout.post-upgrade36
1 files changed, 1 insertions, 35 deletions
diff --git a/main/alpine-baselayout/alpine-baselayout.post-upgrade b/main/alpine-baselayout/alpine-baselayout.post-upgrade
index 8edfb73d71..0e73fc07f3 100644..120000
--- a/main/alpine-baselayout/alpine-baselayout.post-upgrade
+++ b/main/alpine-baselayout/alpine-baselayout.post-upgrade
@@ -1,35 +1 @@
-#!/bin/sh
-
-create_vserver_startstop() {
- cat <<__EOF__
-#!/bin/sh
-
-# This file is for compatibility
-case \${0##*/} in
-rcL)
- RUNLEVEL=1 /sbin/rc sysinit || exit 1
- /sbin/rc boot || exit 1
- /sbin/rc \${1:-default}
- exit 0
- ;;
-rcK)
- /sbin/rc shutdown
- ;;
-esac
-
-__EOF__
-}
-
-# create compat start/stop scripts for vserver guests
-if [ "$(/sbin/rc --sys)" = "VSERVER" ]; then
- # create rcL and rcK
- if ! [ -e /etc/init.d/rcL ]; then
- create_vserver_startstop > /etc/init.d/rcL
- chmod +x /etc/init.d/rcL
- fi
- if ! [ -e /etc/init.d/rcK ]; then
- ln -s rcL /etc/init.d/rcK
- fi
-fi
-
-exit 0
+alpine-baselayout.post-install \ No newline at end of file