mirror of
https://github.com/femtofox/femtofox.git
synced 2026-10-26 19:02:00 -04:00
Update usbconfig.sh
This commit is contained in:
parent
e65d7210ec
commit
11de30dd3d
1 changed files with 3 additions and 3 deletions
|
|
@ -56,7 +56,7 @@ usb_device="/dev/$usb_device"
|
|||
|
||||
|
||||
# Debugging: Log and echo the extracted device name
|
||||
log_message "Extracted device name: $usb_device"
|
||||
log_message "Detected USB drive: $usb_device"
|
||||
|
||||
# Check if the USB drive is already mounted
|
||||
if mount | grep "$usb_device" > /dev/null; then
|
||||
|
|
@ -73,8 +73,8 @@ else
|
|||
fi
|
||||
fi
|
||||
|
||||
wpa_supplicant_conf="/etc/wpa_supplicant/wpa_supplicant.conf"
|
||||
usb_config="/tmp/femtofox-config.txt"
|
||||
wpa_supplicant_conf="/etc/wpa_supplicant/wpa_supplicant.conf"
|
||||
usb_config="/tmp/femtofox-config.txt"
|
||||
|
||||
# Check if the mounted USB drive contains a file femtofox-config.txt
|
||||
if [ -f "$mount_point/femtofox-config.txt" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue