From aa128b328d9419644790c74a8a10cf0d2cadeff5 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 14 Jun 2014 12:30:48 -0400 Subject: Generate /etc/network/interfaces at boot. --- (limited to 'busybox.pkg') diff --git a/busybox.pkg/postinst b/busybox.pkg/postinst index 07b5c1f..f77b149 100755 --- a/busybox.pkg/postinst +++ b/busybox.pkg/postinst @@ -5,16 +5,6 @@ if [ "x${1}" = 'xconfigure' ]; then update-alternatives --install "${link}" "${name}" \ "${link}.busybox" "${prio}" done /etc/network/interfaces - printf 'auto lo\niface lo inet loopback\n\n' >&3 - for iface in /sys/class/net/eth*; do - iface="${iface##*/}" - printf 'auto %s\niface %s inet dhcp\n\n' \ - "${iface}" "${iface}" >&3 - done - exec 3>&- - fi if [ "x$(ls -A /var/www/ | head -n 1)" = 'x' ]; then # There are no files in /var/www/. cp /usr/share/busybox/www/index.html /var/www/index.html -- cgit v0.9.1