summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/build b/build
index e562c8d..61fff43 100755
--- a/build
+++ b/build
@@ -31,6 +31,14 @@ install:
mv dest/usr/bin/reset dest/usr/bin/reset.busybox
set -e; $(config_enabled); $(install_init_script); \
if config_enabled INIT; then \
+ install -d -m 0755 dest/etc; \
+ if config_enabled HALT; then \
+ install -p -m 0644 ../src.etc/inittab.halt \
+ dest/etc/inittab; \
+ else \
+ install -p -m 0644 ../src.etc/inittab \
+ dest/etc/inittab; \
+ fi; \
install -d -m 0755 dest/etc/init.d; \
config_enabled HOSTNAME && install_init_script hostname; \
config_enabled HTTPD && install_init_script httpd && \