Changeset 2487 in MondoRescue for branches/2.2.9/mindi/rootfs/sbin/init
- Timestamp:
- Nov 18, 2009, 9:40:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi/rootfs/sbin/init
r2484 r2487 83 83 # By default first serial line is configured as tty 84 84 # Required to have a correct serial console support (MP on ia64 or VSP with iLO2 e.g.) 85 serial=/dev/ttyS086 85 for i in `cat /proc/cmdline` ; do 87 86 echo $i | grep -qi serial= && serial=`echo $i | cut -d= -f2` 88 87 done 89 ln -s -f $serial /dev/tty 88 # Doing that is only valid when using a real serial line 89 if [ -f $serial ]; then 90 ln -s -f $serial /dev/tty 91 fi 90 92 } 91 93
Note:
See TracChangeset
for help on using the changeset viewer.