From: James Cameron Date: Sun, 26 Oct 2008 00:06:28 +0000 (+1100) Subject: ensure local interface present for kde X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c592836ec8b4f33a04255b862a8b89c2007185fd;p=xodist ensure local interface present for kde --- diff --git a/initchroot.sh b/initchroot.sh index 42fa72a..79a4509 100755 --- a/initchroot.sh +++ b/initchroot.sh @@ -228,6 +228,15 @@ rm -rf ${ROOT_DIR}/home/*; # i have no idea what's adding this crap... (chroot ${ROOT_DIR} adduser ${DEFUSER} floppy) echo "${DEFUSER} ALL=(ALL) NOPASSWD: ALL" >> ${ROOT_DIR}/etc/sudoers +# add local network interface +# (works around a kde session start problem) +cat <> ${ROOT_DIR}/etc/network/interfaces + +# added by xodist +auto lo +iface lo inet loopback +EOF + # done, clean up mv ${ROOT_DIR}/sbin/start-stop-daemon.REAL ${ROOT_DIR}/sbin/start-stop-daemon (chroot ${ROOT_DIR} aptitude clean)