Diff of /functions/isoboot [db5991] .. [536893] Maximize Restore

  Switch to side-by-side view

--- a/functions/isoboot
+++ b/functions/isoboot
@@ -1,20 +1,10 @@
 #!/bin/sh
 
-if [ "$3" != "" ]
+sed -i "s/\#isdl //g" $1
+sed -i "s/isourloc/$2/g" $1
+
+if [ "$1" = ./winbuild/menu.lst ]
 then
-ktypeparam="$3"
-else
-ktypeparam="kernel"
+sed -i 's/\; isdl //g' ./winbuild/unetbootin.nsi
+sed -i "s/isourloc/$2/g" ./winbuild/unetbootin.nsi
 fi
-
-if [ "$4" != "" ]
-then
-kflparam="$4"
-else
-kflparam="ubnkern"
-fi
-
-sed -i "s/kernel \/boot\/ubnkern/$ktypeparam \/boot\/$kflparam $2/g" $1
-sed -i "s/kernel \$grbootsup\/ubnkern/$ktypeparam \$grbootsup\/$kflparam $2/g" $1
-sed -i "s/kernel \/wubi\/boot\/ubnkern/$ktypeparam \/wubi\/boot\/$kflparam $2/g" $1
-sed -i "s/kernel \/ubuntu\/disks\/boot\/ubnkern/$ktypeparam \/ubuntu\/disks\/boot\/$kflparam $2/g" $1