# Filename: /linuxrc
# Purpose: minirt for kernel 2.6 running on grml live-cd
# Authors: (c) Klaus Knopper <knoppix@knopper.net>, (c) Michael Prokop <mika@grml.org>
-# Latest change: Don Nov 16 19:08:07 CET 2006 [mika]
+# Latest change: Son Dez 03 00:21:25 CET 2006 [mika]
#######################################################################################
# hardcoded configurable options
if test -z "$NOFIREWIRE" ; then
log_begin_msg "Checking for Firewire."
if test -f /modules/div/ieee1394.ko ; then
- $insmoD /modules/div/ieee1394.ko > /dev/null 2>&1
+ $INSMOD /modules/div/ieee1394.ko > /dev/null 2>&1
FOUNDFIREWIRE=""
test -f /modules/div/ohci1394.ko && $INSMOD /modules/div/ohci1394.ko > /dev/null 2>&1 && FOUNDFIREWIRE="yes"
if test -n "$FOUNDFIREWIRE" ; then
if test -n "$UNIONFS" && /bin/mount -t unionfs -o noatime${SECURE},dirs=/ramdisk=rw:/GRML=ro /UNIONFS /UNIONFS; then
# We now have unionfs, copy some data from the initial ramdisk first
cp -a /etc/fstab /etc/auto.mnt /etc/filesystems /etc/mtab /UNIONFS/etc/
+ # disable resolvconf on the terminalserver client
+ rm /UNIONFS/etc/resolv.conf
+ cp -a /etc/resolv.conf /UNIONFS/etc
+ echo REPORT_ABSENT_SYMLINK=no >> /UNIONFS/etc/default/resolvconf
for i in bin boot etc sbin var lib opt root usr; do # Move directories to unionfs
if test -d /$i; then
mv /$i /$i.old && \