Changeset 2498 in MondoRescue for branches/2.2.9/mindi/rootfs
- Timestamp:
- Dec 5, 2009, 5:53:03 PM (15 years ago)
- Location:
- branches/2.2.9/mindi/rootfs/sbin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi/rootfs/sbin/init
r2487 r2498 88 88 # Doing that is only valid when using a real serial line 89 89 if [ -f $serial ]; then 90 LogIt "Redirecting serial $serial to /dev/tty" 1 90 91 ln -s -f $serial /dev/tty 91 92 fi -
branches/2.2.9/mindi/rootfs/sbin/start-netfs
r2438 r2498 35 35 echo $i | grep -qi ipconf= && ipconf=`echo $i | cut -d= -f2` 36 36 echo $i | grep -qi netfsmount= && export netfsmount=`echo $i | cut -d= -f2` 37 echo $i | grep -qi netfsopt= && export netfsopt=`echo $i | cut -d= -f2` 37 38 echo $i | grep -qi prefix= && export imgname=`echo $i | cut -d= -f2` 38 39 echo $i | grep -qi netfspath= && export dirimg=`echo $i | cut -d= -f2` … … 83 84 # We need a correct console for ssh 84 85 ln -sf /dev/console /dev/tty 85 sshfs -o ro,StrictHostKeyChecking=no $netfs mount /tmp/isodir86 sshfs -o ro,StrictHostKeyChecking=no $netfsopt $netfsmount /tmp/isodir 86 87 elif [ "$proto" != "" ]; then 87 88 LogIt "Mounting Network share ($netfsmount) on /tmp/isodir..." 88 89 touch /etc/mtab 89 mount -t $proto -o nolock,ro $netfs mount /tmp/isodir90 mount -t $proto -o nolock,ro $netfsopt $netfsmount /tmp/isodir 90 91 else 91 92 LogIt "Unknown protocol $proto"
Note:
See TracChangeset
for help on using the changeset viewer.