Shellchecks

This commit is contained in:
Kroese 2023-03-30 20:25:49 +02:00
parent 91174142ef
commit 37533ddf17
2 changed files with 4 additions and 4 deletions

View File

@ -94,8 +94,8 @@ fi
rm -rf $MOUNT
mv -f $BOOT "$IMG"/boot.img
mv -f $SYSTEM "$IMG"/system.img
mv -f "$BOOT" "$IMG"/boot.img
mv -f "$SYSTEM" "$IMG"/system.img
rm -rf $TMP

View File

@ -2,6 +2,6 @@
permanent="DSM"
serialstart="2000"
serialnum="$(echo "$serialstart" | tr ' ' '\n' | sort -R | tail -1)"$permanent""$(printf "%06d" $((RANDOM % 30000 + 1)))
serialnum="$(echo "$serialstart" | tr ' ' '\n' | sort -R | tail -1)$permanent"$(printf "%06d" $((RANDOM % 30000 + 1)))
echo $serialnum
echo "$serialnum"