Modules/InitRD - Fixed to not convert files into hex
[tpg/acess2.git] / EditBoot
index ba54734..fa71e4d 100755 (executable)
--- a/EditBoot
+++ b/EditBoot
@@ -2,7 +2,9 @@
 #./MountDisk
 #vim mnt/boot/menu.lst
 #sudo umount mnt/
-DISK=a
+if [[ "x$DISK" == "x" ]]; then
+       DISK=a
+fi
 mcopy $DISK:/boot/menu.lst .menu.lst.tmp
 vim .menu.lst.tmp
 mcopy -D o .menu.lst.tmp $DISK:/boot/menu.lst

UCC git Repository :: git.ucc.asn.au