mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
remove always reboot on migration
This commit is contained in:
parent
4d2bf28b26
commit
29351ebeb1
2 changed files with 3 additions and 10 deletions
|
@ -418,8 +418,6 @@ case $CHOICE in
|
|||
;;
|
||||
MIGRATION)
|
||||
sudo /home/admin/config.scripts/blitz.migration.sh "import-gui"
|
||||
echo "PRESS ENTER to continue/reboot"
|
||||
sudo shutdown -r now
|
||||
exit 0
|
||||
;;
|
||||
X)
|
||||
|
|
|
@ -15,18 +15,13 @@ if [ "$EUID" -ne 0 ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# check if data drive is mounted - other wise cannot operate
|
||||
isMounted=$(sudo df | grep -c /mnt/hdd)
|
||||
if [ ${isMounted} -eq 0 ]; then
|
||||
echo "# FAIL check why /mnt/hdd is not available/mounted"
|
||||
echo "error='datadrive not found'"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
###################
|
||||
# STATUS
|
||||
###################
|
||||
|
||||
# check if data drive is mounted - other wise cannot operate
|
||||
isMounted=$(sudo df | grep -c /mnt/hdd)
|
||||
|
||||
# gathering system info
|
||||
isBTRFS=$(lsblk -o FSTYPE,MOUNTPOINT | grep /mnt/hdd | awk '$1=$1' | cut -d " " -f 1 | grep -c btrfs)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue