diff options
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 && \ |