summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/grub-efi.sh7
-rwxr-xr-xsrc/xorriso-usb.sh2
2 files changed, 7 insertions, 2 deletions
diff --git a/src/grub-efi.sh b/src/grub-efi.sh
index 611e85f..350c28d 100755
--- a/src/grub-efi.sh
+++ b/src/grub-efi.sh
@@ -1,7 +1,12 @@
1#!/bin/bash 1#!/bin/bash
2. samizdat-paths.sh 2. samizdat-paths.sh
3 3
4linux_kernel_commandline='boot=samizdat components quiet nbdroot=192.168.10.1/samizdat.btrfs nbddev=/dev/nbd0 ip=dhcp' 4if [ "$BOOTLOADER_ONLY" ]
5then
6 linux_kernel_commandline='boot=samizdat components quiet nbdroot=192.168.10.1/samizdat.btrfs nbddev=/dev/nbd0 ip=dhcp'
7else
8 linux_kernel_commandline='boot=samizdat components quiet'
9fi
5 10
6grub_config() 11grub_config()
7{ 12{
diff --git a/src/xorriso-usb.sh b/src/xorriso-usb.sh
index b811c7f..594ff78 100755
--- a/src/xorriso-usb.sh
+++ b/src/xorriso-usb.sh
@@ -195,7 +195,7 @@ while [ $# -gt 0 ]; do
195 case "$1" in 195 case "$1" in
196 --) shift; break;; 196 --) shift; break;;
197 --adam) shift; ADAM=y;; 197 --adam) shift; ADAM=y;;
198 --bootloader) shift; BOOTLOADER_ONLY=y;; 198 --bootloader) shift; export BOOTLOADER_ONLY=y;;
199 --cdrom) shift; USB=;; 199 --cdrom) shift; USB=;;
200 --detach) shift; DETACH=y;; 200 --detach) shift; DETACH=y;;
201 --in) INPUT_DEVICE="$2"; shift 2;; 201 --in) INPUT_DEVICE="$2"; shift 2;;