Changeset 2249 in MondoRescue for branches/2.2.9/mindi/rootfs/sbin/init
- Timestamp:
- Jul 5, 2009, 2:42:21 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi/rootfs/sbin/init
r2212 r2249 831 831 LogIt "I think this media has no archives on it." 832 832 fi 833 if ! [ "`grep -i "script=" /proc/cmdline`" ] ; then 834 for i in `cat /proc/cmdline` ; do 835 echo $i | grep -qi script= && script=`echo $i | cut -d= -f2` 836 done 837 if [ -x $script ]; then 838 echo "Executing final script $script" 839 LogIt "Executing final script $script" 840 $script 841 fi 842 fi 833 843 if grep "RESTORE" /proc/cmdline > /dev/null 2> /dev/null ; then 834 844 echo "Rebooting in 10 seconds automatically as per reboot order"
Note:
See TracChangeset
for help on using the changeset viewer.