mirror of
https://github.com/femtofox/femtofox.git
synced 2026-11-20 23:16:30 -05:00
Do not run usb tool on first boot.
Checks for first boot flag and exits gracefully.
This commit is contained in:
parent
eba5b4c217
commit
2e8a3f7136
1 changed files with 4 additions and 0 deletions
|
|
@ -1,4 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ ! -e "/etc/.firstboot" ]; then
|
||||
exit 0
|
||||
|
||||
mount_point="/mnt/usb" # Set the mount point
|
||||
|
||||
# Function to log to screen, syslog and logfile to be saved to usb drive
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue