diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -54,10 +54,13 @@ install: build ln -sf rc dest/etc/init.d/rcS; \ ln -sf rc dest/etc/init.d/rcK; \ while read -r config script links; do \ - config_enabled "$${config}" && \ - install_init_script "$${script}" $${links}; \ - [ "x$${links:+set}" != 'xset' ] && \ - printf '%s\n' "$${script}" >&3; \ + if [ "x$${links%abled}" = "x$${links}" ]; then + config_enabled "$${config}" && \ + install_init_script "$${script}" \ + $${links}; \ + else \ + printf '%s %s\n' "$${script}" "$${links}" >&3; \ + fi; \ done <../scripts; \ exec 3>&-; \ fi; \ |