mirror of
https://github.com/femtofox/femtofox.git
synced 2026-10-26 19:02:00 -04:00
fixed run once check for usb tool
Check if run once flag exists, if so exit silently.
This commit is contained in:
parent
83a95e5c69
commit
71f3ee6b42
1 changed files with 4 additions and 1 deletions
|
|
@ -1,7 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ ! -e "/etc/.firstboot" ]; then
|
||||
if [ -e "/etc/.firstboot" ]; then
|
||||
echo "First boot, skipping USB Configuration Tool."
|
||||
logger "First boot, skipping USB Configuration Tool."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
mount_point="/mnt/usb" # Set the mount point
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue