Changeset 276 in MondoRescue for trunk/mindi/rootfs
- Timestamp:
- Jan 3, 2006, 5:01:12 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mindi/rootfs/sbin/hack-cfg-if-necessary
r30 r276 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.