From: Serge L. <fi...@in...> - 2006-02-02 12:59:14
|
I've found one more - "ps" The final (I hope) diff is the following: >bhost:# diff -aur ./linuxrc. ./linuxrc >--- ./linuxrc. 1980-01-01 09:01:01.000000000 +0300 >+++ ./linuxrc 2006-02-02 15:24:27.000000000 +0300 > @@ -227,7 +231,7 @@ > for CFG_SRC in $CONFIG_SRC_LIST > do > echo -e "Looking for empty configuation media on $CFG_SRC" > - if mount -n -t auto $CFG_SRC /floppy >/dev/null 2>&1 ; then > + if mount -n $CFG_SRC /floppy >/dev/null 2>&1 ; then > umount /floppy # in case user swaps floppy when we are accepting input > # offer to copy the configuration file if device is not a CD > if [ ! "${CFG_SRC##/*/}" = "cd" ];then > @@ -247,7 +251,7 @@ > $NORMAL > continue > fi > - mount -n -t auto $CFG_SRC /floppy >/dev/null 2>&1 || continue > + mount -n $CFG_SRC /floppy >/dev/null 2>&1 || continue > cp -i /cdrom/config/etc.tar.bz2 /floppy/ || continue > umount /cdrom > @@ -346,7 +350,7 @@ > modprobe -r 2> /dev/null > > # kill our klogd > -kill `ps ax | grep klogd | cut -f 1 -d 0` 2> /dev/null > +kill `ps | grep klogd | cut -f 1 -d 0` 2> /dev/null > > # mount shared memory filesystem > echo "Mounting SHM FS on /cdrom/shm" -- Best regards, Serge mailto:fi...@in... |