Changeset 1158 in MondoRescue for branches/stable/mindi/rootfs/sbin/init
- Timestamp:
- Feb 14, 2007, 2:32:50 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/rootfs/sbin/init
r1087 r1158 83 83 LoadKeymap() { 84 84 local fname 85 fname=`grep keymap-lives-here /tmp/mondo-restore.cfg | cut -d' 85 fname=`grep keymap-lives-here /tmp/mondo-restore.cfg | cut -d'=' -f2 2> /dev/null` 86 86 [ "$fname" = "" ] && return 87 87 if which loadkeys > /dev/null 2> /dev/null ; then … … 101 101 cd $GROOVY 102 102 [ "$1" != "" ] && tapedev=$1 103 [ ! "$tapedev" ] && tapedev=`grep media-dev /tmp/mondo-restore.cfg | tr -s ' ' ' ' | cut -d' 103 [ ! "$tapedev" ] && tapedev=`grep media-dev /tmp/mondo-restore.cfg | tr -s ' ' ' ' | cut -d'=' -f2` 104 104 # tar -zxf $tapedev 105 105 dd if=$tapedev bs=32k count=1024 | tar -zx … … 107 107 if [ "$res" -eq "0" ] ; then 108 108 grep -v media-dev /tmp/mondo-restore.cfg > /tmp/mr.cfg 109 echo "media-dev 109 echo "media-dev=$tapedev" >> /tmp/mr.cfg 110 110 cp -f /tmp/mr.cfg /tmp/mondo-restore.cfg 111 111 fi
Note:
See TracChangeset
for help on using the changeset viewer.