X-Git-Url: http://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=chroot-script;h=dc895cb46fbc66e6a2994239f2c5ef977ceb38c7;hp=3ae79ee12f32140e5e662aa3e10644a16620f712;hb=329df0b2f15d3ddb56010205c19eae7dd0d5f015;hpb=bba7c1961b43afcbe30097fc3fbbf6c53c57b1ac diff --git a/chroot-script b/chroot-script index 3ae79ee..dc895cb 100755 --- a/chroot-script +++ b/chroot-script @@ -414,25 +414,6 @@ EOF } # }}} -# set up /etc/network/interfaces {{{ -interfaces() { - if ! [ -r /etc/network/interfaces ] || ! grep -q "auto lo" /etc/network/interfaces ; then - echo "Setting up /etc/network/interfaces" - cat >> /etc/network/interfaces << EOF - -# loopback device: -iface lo inet loopback -auto lo - -# eth0: -# iface eth0 inet dhcp -# auto eth0 - -EOF - fi -} -# }}} - # set default locales {{{ default_locales() { if [ -n "$DEFAULT_LOCALES" ] ; then @@ -626,7 +607,7 @@ trap signal_handler HUP INT QUIT TERM install_policy_rcd for i in chrootmirror grmlrepos backportrepos kernelimg_conf \ - kernel packages extrapackages reconfigure hosts interfaces \ + kernel packages extrapackages reconfigure hosts \ default_locales timezone fstab hostname initrd grub_install passwords \ custom_scripts upgrade_system remove_apt_cache services \ remove_chrootmirror; do