Changeset 3200 in MondoRescue for branches/3.2/mindi/rootfs/etc/init.d/rcS
- Timestamp:
- Oct 28, 2013, 11:34:03 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi/rootfs/etc/init.d/rcS
r3172 r3200 59 59 if [[ $serial != "" && -e $serial ]]; then 60 60 setsid sh -c "exec sh <$serial >$serial 2>&1" 61 elif [[ $console != "" && -e $console ]]; then62 setsid sh -c "exec sh < $console >$console 2>&1"61 elif [[ $console != "" && -e /dev/$console ]]; then 62 setsid sh -c "exec sh </dev/$console >/dev/$console 2>&1" 63 63 else 64 64 setsid sh -c "exec sh </dev/tty1 >/dev/tty1 2>&1" … … 111 111 # Required to have a correct serial console support (MP on ia64 or VSP with iLO2 e.g.) 112 112 for i in `cat /proc/cmdline` ; do 113 113 echo $i | grep -qi serial= && serial=`echo $i | cut -d= -f2` 114 114 done 115 115 # Doing that is only valid when using a real serial line 116 if [ -f $serial]; then116 if [[ $serial != "" && -e $serial ]]; then 117 117 LogIt "Redirecting serial $serial to /dev/tty" 1 118 118 ln -s -f $serial /dev/tty
Note:
See TracChangeset
for help on using the changeset viewer.