summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-05-09 18:08:40 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-05-09 18:08:40 (EDT)
commit9b1af84d38257a3022bfac96e6842aa4caf0adb2 (patch)
treeb042f4cce37a8b096b3966b7f285e1a503cff11a /build
parent1d60125a976bc62fa10b2601790af63842e3be50 (diff)
build: Install /etc/init.d/rc and links.
Diffstat (limited to 'build')
-rwxr-xr-xbuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/build b/build
index 6e2568b..96d18da 100755
--- a/build
+++ b/build
@@ -53,6 +53,9 @@ install: build
dest/etc/inittab; \
fi; \
install -d -m 0755 dest/etc/init.d dest/etc/rc.d; \
+ install -p -m 0755 ../src.etc/init.d/rc dest/etc/init.d/rc; \
+ ln -sf rc dest/etc/init.d/rcS; \
+ ln -sf rc dest/etc/init.d/rcK; \
while read -r config script links; do \
config_enabled "$${config}" && \
install_init_script "$${script}" $${links}; \