Changeset 275 in MondoRescue for branches/2.06/mindi/rootfs/sbin/hack-cfg-if-necessary
- Timestamp:
- Jan 3, 2006, 4:59:29 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.06/mindi/rootfs/sbin/hack-cfg-if-necessary
r30 r275 1 1 #!/bin/sh 2 # 3 # $Id$ 4 # 2 5 3 6 if ! mount | grep cdrom ; then … … 20 23 LogIt "Re-jigging mondo-restore.cfg because you backed up to ISOs and then burned them to CDs" 1 21 24 mv -f /tmp/mondo-restore.cfg /tmp/mrco 22 cat /tmp/mrco | sed 's/backup-media-type iso/backup-media-type cdr/'> /tmp/mondo-restore.cfg25 sed 's/backup-media-type iso/backup-media-type cdr/' /tmp/mrco > /tmp/mondo-restore.cfg 23 26 LogIt "Done re-jigging. Yay." 24 27 exit 0
Note:
See TracChangeset
for help on using the changeset viewer.