Browse Source

added full path to /installer/

Toastie 1 year ago
parent
commit
00c442573c
2 changed files with 2 additions and 3 deletions
  1. 1 2
      prepare_luks.sh
  2. 1 1
      startup.sh

+ 1 - 2
prepare_luks.sh

@@ -1,8 +1,7 @@
 #!/bin/bash
 
 # Overwrite default variables from config file
-cd /installer
-[ -f ./config.sh ] && source config.sh
+[ -f /installer/config.sh ] && source /installer/config.sh
 
 
 # Check if partition exists

+ 1 - 1
startup.sh

@@ -1,7 +1,7 @@
 #!/bin/bash -e
 
 # Load configuration
-[ -f ./config.sh ] && source config.sh
+[ -f /installer/config.sh ] && source /installer/config.sh
 disk2=$disk"p3"