summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/build b/build
index 61fff43..e3df393 100755
--- a/build
+++ b/build
@@ -10,8 +10,14 @@ config_enabled = \
install_init_script = \
install_init_script() \
{ \
- install -p -m 0755 "../src.etc/init.d/$${1}" \
- "dest/etc/init.d/$${1}"; \
+ script="$${1}"; \
+ shift; \
+ install -p -m 0755 "../src.etc/init.d/$${script}" \
+ "dest/etc/init.d/$${script}"; \
+ for link; do \
+ ln -s "../init.d/$${script}" \
+ "dest/etc/rc.d/$${link}$${script}"; \
+ done; \
}
nop: