summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-08-08 18:10:19 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-08-08 18:10:19 (EDT)
commit693ac52b08fbcb15e7489c7a252ca4f653ed1c1b (patch)
tree4e50452a9aaf675014eff475faf518383c6b7793
parent3ae74be7bad4d493a27ebeb0da81631a2790e3d1 (diff)
build: Install /etc/inittab.
-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 && \