diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -44,6 +44,7 @@ install: build exec 3>&- set -e; $(config_enabled); $(install_init_script); \ if config_enabled INIT; then \ + exec 3>dest/usr/share/busybox/init-scripts; \ install -d -m 0755 dest/etc; \ install -p -m 0644 inittab dest/etc/inittab; \ install -d -m 0755 dest/etc/init.d dest/etc/rc.d; \ @@ -53,7 +54,10 @@ install: build while read -r config script links; do \ config_enabled "$${config}" && \ install_init_script "$${script}" $${links}; \ + [ "x$${links:+set}" != 'xset' ] && \ + printf '%s\n' "$${script}" >&3; \ done <../scripts; \ + exec 3>&-; \ fi; \ if config_enabled HTTPD; then \ install -d -m 0755 dest/var/www; \ |