From c592836ec8b4f33a04255b862a8b89c2007185fd Mon Sep 17 00:00:00 2001 From: James Cameron Date: Sun, 26 Oct 2008 11:06:28 +1100 Subject: [PATCH] ensure local interface present for kde --- initchroot.sh | 9 +++++++++ 1 file changed, 9 insertions(+) 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) -- 2.39.5