diff --git a/autorun/AUTORUN.INF b/autorun/AUTORUN.INF new file mode 100644 index 0000000..0023268 --- /dev/null +++ b/autorun/AUTORUN.INF @@ -0,0 +1,3 @@ +[autorun] +label=GLIM +icon=invader.ico diff --git a/autorun/invader.ico b/autorun/invader.ico new file mode 100644 index 0000000..1a7601d Binary files /dev/null and b/autorun/invader.ico differ diff --git a/glim.sh b/glim.sh index dfd99a8..23a4ac5 100755 --- a/glim.sh +++ b/glim.sh @@ -156,6 +156,14 @@ if [[ $? -ne 0 ]]; then exit 1 fi +# Copy autorun files +echo "Running rsync -rpt autorun/ ${USBMNT}/ ..." +${CMD_PREFIX} rsync -rpt autorun/ ${USBMNT}/ +if [[ $? -ne 0 ]]; then + echo "ERROR: the rsync copy returned with an error exit status." + exit 1 +fi + # Be nice and pre-create the directory, and mention it [[ -d ${USBMNT}/boot/iso ]] || ${CMD_PREFIX} mkdir ${USBMNT}/boot/iso echo "GLIM installed! Time to populate the boot/iso directory."