mirror of
https://github.com/femtofox/femtofox.git
synced 2026-12-01 20:36:41 -05:00
continued script mods
This commit is contained in:
parent
0c10c9ec15
commit
3ad1640d6f
2 changed files with 2 additions and 4 deletions
|
|
@ -10,7 +10,7 @@ echo -n "Enter wifi password: "
|
|||
stty -echo # Disable terminal echo
|
||||
read PASSWORD
|
||||
stty echo # Re-enable terminal echo
|
||||
echo "\n[1;32m*** SSID saved. Wifi requires adapter ***\e[0m\n"
|
||||
printf "\n[1;32m*** SSID saved. Wifi requires adapter ***\e[0m\n"
|
||||
|
||||
|
||||
if ! grep -q "tmpfs /run tmpfs size=32M,nosuid,noexec,relatime,mode=755 0 0" /etc/fstab; then
|
||||
|
|
@ -176,5 +176,5 @@ sudo rm -rf ~/femtofox
|
|||
|
||||
printf "[1;32m*** $(date "+%H:%M:%S %Z"): Configuration complete... ***\e[0m\n"
|
||||
|
||||
echo "\e[1;31mPress any key to reboot...\e[0m\n"
|
||||
printf "\e[1;31mPress any key to reboot...\e[0m\n"
|
||||
read -n 1 -s && sudo reboot
|
||||
|
|
@ -3,8 +3,6 @@
|
|||
# Set the mount point
|
||||
MOUNT_POINT="/mnt/usb"
|
||||
|
||||
echo 34 > /sys/class/gpio/export && echo out > /sys/class/gpio/gpio34/direction
|
||||
|
||||
# Function to log both to the screen and syslog
|
||||
log_message() {
|
||||
local msg="USB config: $1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue