diff options
author | P. 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) |
commit | 693ac52b08fbcb15e7489c7a252ca4f653ed1c1b (patch) | |
tree | 4e50452a9aaf675014eff475faf518383c6b7793 /build | |
parent | 3ae74be7bad4d493a27ebeb0da81631a2790e3d1 (diff) |
build: Install /etc/inittab.
Diffstat (limited to 'build')
-rwxr-xr-x | build | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 && \ |