diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-04-22 18:17:22 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-04-22 18:17:22 +0000 |
commit | ffd1dc0d2ed2af3566ccb3674f84450e1693ffd1 (patch) | |
tree | 341dbe9980b1469ec5150c1748ed324bdd0ce222 /init.d | |
parent | d729f9c68653d125721850bef071b5d052dc1510 (diff) | |
download | alpine-baselayout-ffd1dc0d2ed2af3566ccb3674f84450e1693ffd1.tar.bz2 alpine-baselayout-ffd1dc0d2ed2af3566ccb3674f84450e1693ffd1.tar.xz |
fix the rcL/rcK scripts to work with openrc
Those are only for compatibility, specially for vserver guests.
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/Makefile | 1 | ||||
-rwxr-xr-x | init.d/rcK | 3 | ||||
-rw-r--r-- | init.d/rcL | 5 |
3 files changed, 7 insertions, 2 deletions
diff --git a/init.d/Makefile b/init.d/Makefile index ff5c4a3..7bc1e5c 100644 --- a/init.d/Makefile +++ b/init.d/Makefile @@ -5,6 +5,7 @@ SCRIPTS = cron \ inetd \ mdev \ rcL \ + rcK \ rcS \ syslog \ tuntap \ diff --git a/init.d/rcK b/init.d/rcK new file mode 100755 index 0000000..a8e18d3 --- /dev/null +++ b/init.d/rcK @@ -0,0 +1,3 @@ +#!/bin/sh + +/sbin/rc shutdown @@ -1,3 +1,4 @@ #!/bin/sh -rc sysinit -rc default +/sbin/rc sysinit || exit 1 +/sbin/rc default +exit 0 |