diff --git a/scripts/liprepoctl.sh b/scripts/liprepoctl.sh index 7d3a6fdf3db9c95b9f5505ad6b7d3129cdab784b..025077380940e0991858fc807be00372549974db 100644 --- a/scripts/liprepoctl.sh +++ b/scripts/liprepoctl.sh @@ -3,8 +3,8 @@ ACTION="$1" FILENAME="/etc/apt/sources.list.d/lipoffline.list" ACTIVATED=`test -e "$FILENAME"` -DIST_CODENAME="saucy" -DIST_VERSION="13.10" +DIST_CODENAME="trusty" +DIST_VERSION="14.04" function install_repo() diff --git a/scripts/mount-stick-repo.sh b/scripts/mount-stick-repo.sh index f214fe69e259ef04f4d1e3d6ee7935251d48c241..5d79dcaaec6ea613658c9dd9a0782b579d8b2f83 100644 --- a/scripts/mount-stick-repo.sh +++ b/scripts/mount-stick-repo.sh @@ -44,11 +44,11 @@ else echo "Stick gefunden als $DEV" # ask udisks to mount it always. - udisksctl mount --block-device "$DEV" + udisksctl mount --block-device "$DEV" || true # see where it is mounted DEVFILE=${DEV#/dev/} - MPOINT="$(dbus-send --print-reply=literal --system --dest=org.freedesktop.UDisks /org/freedesktop/UDisks/devices/${DEVFILE} org.freedesktop.DBus.Properties.Get string:'org.freedesktop.UDisks.Device' string:'DeviceMountPaths' | tail -n +2 | tr -d "\ \]\[" | head -n 1)" + MPOINT="$(dbus-send --print-reply=literal --system --dest=org.freedesktop.UDisks2 /org/freedesktop/UDisks2/block_devices/${DEVFILE} org.freedesktop.DBus.Properties.Get string:'org.freedesktop.UDisks2.Filesystem' string:'MountPoints' | tail -n +3 | tr -d "\ \]\[" | head -n 1 | xxd -r -p)" echo "Der Stick it als '$MPOINT' gemountet" fi diff --git a/win/custom.cfg b/win/custom.cfg new file mode 100644 index 0000000000000000000000000000000000000000..b1b97378df5dc6ccf8c048f4b3e219414b94e2eb --- /dev/null +++ b/win/custom.cfg @@ -0,0 +1,6 @@ +# Taken from https://github.com/GAireg/grubconfig/blob/master/grub.cfg +# load windows from efi +menuentry "Windows EFI" { + search --file --set dev_root --no-floppy /EFI/Microsoft/boot/bootmgfw.efi + chainloader ($dev_root)/EFI/Microsoft/boot/bootmgfw.efi +} \ No newline at end of file