* Fix the /etc/init.d/savecache shebang to use openrc-run instead of runscript.
Thomas Goirand
10 years ago
19 | 19 |
his work (Closes: #736636).
|
20 | 20 |
* Stores rc and rcS directly in /etc/init.d in the .deb of OpenRC, rather
|
21 | 21 |
than using dangerous and useless maintainer scripts (Closes: #736367).
|
|
22 |
* Fix the /etc/init.d/savecache shebang to use openrc-run instead of
|
|
23 |
runscript.
|
22 | 24 |
|
23 | 25 |
-- Thomas Goirand <zigo@debian.org> Mon, 27 Jan 2014 15:44:47 +0000
|
24 | 26 |
|
4 | 4 |
init.d-script-does-not-implement-required-option etc/init.d/savecache force-reload
|
5 | 5 |
init.d-script-does-not-implement-optional-option etc/init.d/savecache status
|
6 | 6 |
script-in-etc-init.d-not-registered-via-update-rc.d etc/init.d/savecache
|
|
7 |
init.d-script-does-not-source-init-functions etc/init.d/savecache
|
64 | 64 |
# We don't want the Gentoo init scripts, but only want savecache to stay
|
65 | 65 |
find $(CURDIR)/debian/openrc/etc/init.d/* -name savecache -or -name rc -or -name rcS -prune -o -exec rm -f {} +
|
66 | 66 |
|
|
67 |
# Fix the shebang of savecache
|
|
68 |
sed -i s/runscript/openrc-run/ $(CURDIR)/debian/openrc/etc/init.d/savecache
|
|
69 |
|
67 | 70 |
for dir in boot default sysinit shutdown; do \
|
68 | 71 |
rm -f $(CURDIR)/debian/openrc/etc/runlevels/$${dir}/* ; \
|
69 | 72 |
done
|