Skip to content

Commit 5cd5097

Browse files
authored
vayu: Only run install screen on setup
1 parent 86f1dee commit 5cd5097

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

install/vayu.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/system/bin/sh
22

3+
$SETUP || exit 0 # only run if creating config files
4+
35
# Create folder for current OS
46
mkdir -p "$BOOTSET/$1"
57
TEMP="$(mktemp -d)"
@@ -79,4 +81,4 @@ fi
7981
cp "$TEMP/boot/boot.img-zImage" "$BOOTSET/$1/kernel"
8082

8183
# Copy rd
82-
cp "$TEMP/boot/boot.img-ramdisk.gz" "$BOOTSET/$1/initrd.cpio.gz"
84+
cp "$TEMP/boot/boot.img-ramdisk.gz" "$BOOTSET/$1/initrd.cpio.gz"

0 commit comments

Comments
 (0)