Changeset 2484 in MondoRescue
- Timestamp:
- Nov 15, 2009, 12:44:19 AM (15 years ago)
- Location:
- branches
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mindi/README.bootparam
r2481 r2484 63 63 Execute a final script before rebooting the machine at the end of the restoration. Could be an NFS shared script e.g., or a script located on the restored disk or in the initrd. 64 64 65 serial=/dev/ttySx 66 When using a serial console, associate it to the tty device so it works correctly at restore time. By default set up /dev/ttyS0 as serial console. Pass the value of your serial console if different. 67 65 68 textonly 66 69 do not call any Newt library routines; this is unattractive but valuable if you find your Newt library has bugs in it or on ia64 -
branches/2.2.10/mindi/rootfs/sbin/init
r2481 r2484 92 92 # May avoid shell error messages 93 93 chmod 666 /dev/tty* /dev/console 94 if [ "$ARCH" = "ia64" ]; then 95 # Required to have a correct terminal or serial console support 96 ln -s -f /dev/ttyS0 /dev/tty 97 fi 94 # By default first serial line is configured as tty 95 # Required to have a correct serial console support (MP on ia64 or VSP with iLO2 e.g.) 96 serial=/dev/ttyS0 97 for i in `cat /proc/cmdline` ; do 98 echo $i | grep -qi serial= && serial=`echo $i | cut -d= -f2` 99 done 100 ln -s -f $serial /dev/tty 98 101 } 99 102 -
branches/2.2.9/mindi/README.bootparam
r2477 r2484 63 63 Execute a final script before rebooting the machine at the end of the restoration. Could be an NFS shared script e.g., or a script located on the restored disk or in the initrd. 64 64 65 serial=/dev/ttySx 66 When using a serial console, associate it to the tty device so it works correctly at restore time. By default set up /dev/ttyS0 as serial console. Pass the value of your serial console if different. 67 65 68 textonly 66 69 do not call any Newt library routines; this is unattractive but valuable if you find your Newt library has bugs in it or on ia64 -
branches/2.2.9/mindi/rootfs/sbin/init
r2477 r2484 81 81 # May avoid shell error messages 82 82 chmod 666 /dev/tty* /dev/console 83 if [ "$ARCH" = "ia64" ]; then 84 # Required to have a correct terminal or serial console support 85 ln -s -f /dev/ttyS0 /dev/tty 86 fi 83 # By default first serial line is configured as tty 84 # Required to have a correct serial console support (MP on ia64 or VSP with iLO2 e.g.) 85 serial=/dev/ttyS0 86 for i in `cat /proc/cmdline` ; do 87 echo $i | grep -qi serial= && serial=`echo $i | cut -d= -f2` 88 done 89 ln -s -f $serial /dev/tty 87 90 } 88 91
Note:
See TracChangeset
for help on using the changeset viewer.