4 Commits

Author SHA1 Message Date
96c6b86d40 Update install.sh
All checks were successful
Code review / review (pull_request) Successful in 21s
2026-09-12 19:22:25 -04:00
255385bf82 Merge pull request 'Update README.md' (#4) from ztimson-patch-4 into master
Reviewed-on: #4
2026-09-12 19:20:50 -04:00
d0e2752cd8 Update README.md
All checks were successful
Code review / review (pull_request) Successful in 27s
2026-09-12 19:20:45 -04:00
8758a43088 Merge pull request 'Add install.sh' (#3) from ztimson-patch-3 into master
Reviewed-on: #3
2026-09-12 19:18:55 -04:00
2 changed files with 4 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
<br /> <br />
<!-- Logo --> <!-- Logo -->
<img src="https://git.zakscode.com/repo-avatars/2b4ee6ba1f2e2618bf7694e4a52fb56d1d0ea6abafa2dcbe496ab786b86d5a76" alt="Logo" width="200" height="200"> <img src="https://git.zakscode.com/repo-avatars/80775ae9cf0d2c4fb4aec035efb650e631d4d0046ab6fc04c6c041e91ba11d44" alt="Logo" width="200" height="200">
<!-- Title --> <!-- Title -->
### Fallback AP ### Fallback AP
@@ -63,9 +63,7 @@ Runs as a `systemd` service and is managed entirely through `nmcli`/`iw` — no
- Root access - Root access
#### Instructions #### Instructions
1. Download the script: `curl -sL https://git.zakscode.com/ztimson/fallback-ap/raw/branch/master/pi-fallback-ap.sh > /usr/local/bin/fallback-ap` 1. Download & Install: `curl -sL https://git.zakscode.com/ztimson/fallback-ap/raw/branch/master/install.sh | sudo bash`
2. Make it executable: `chmod +x /usr/local/bin/fallback-ap`
3. Install and start the service: `sudo fallback-ap install`
</details> </details>

View File

@@ -2,7 +2,7 @@
set -e set -e
SCRIPT_URL="https://git.zakscode.com/ztimson/fallback-ap/raw/branch/master/pi-fallback-ap.sh" SCRIPT_URL="https://git.zakscode.com/ztimson/fallback-ap/raw/branch/master/fallback-ap.sh"
INSTALL_PATH="/usr/local/bin/fallback-ap" INSTALL_PATH="/usr/local/bin/fallback-ap"
if [ "$EUID" -ne 0 ]; then if [ "$EUID" -ne 0 ]; then
@@ -11,7 +11,7 @@ if [ "$EUID" -ne 0 ]; then
exit 1 exit 1
fi fi
echo "Downloading fallback-ap..." echo "Downloading..."
curl -fsSL "$SCRIPT_URL" -o "$INSTALL_PATH" curl -fsSL "$SCRIPT_URL" -o "$INSTALL_PATH"
chmod +x "$INSTALL_PATH" chmod +x "$INSTALL_PATH"