diff options
Diffstat (limited to 'busybox.pkg/postinst')
-rwxr-xr-x | busybox.pkg/postinst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/busybox.pkg/postinst b/busybox.pkg/postinst index d74c331..99b8006 100755 --- a/busybox.pkg/postinst +++ b/busybox.pkg/postinst @@ -5,6 +5,11 @@ if [ "x${1}" = 'xconfigure' ]; then update-alternatives --install "${link}" "${name}" \ "${link}.busybox" "${prio}" done </usr/share/busybox/alternatives + if [ -e /usr/share/busybox/init-scripts ]; then + while read script; do + "/etc/init.d/${script}" enable + done </usr/share/busybox/init-scripts + fi if [ -d /etc/network ] && ! [ -f /etc/network/interfaces ]; then exec 3>/etc/network/interfaces printf 'auto lo\niface lo inet loopback\n\n' >&3 |