Skip to content
Snippets Groups Projects
Commit 85fd184a authored by nimrod's avatar nimrod
Browse files

- Added login script to the Israeli train's wifi, intructions in the file.

parent 3ca7b682
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
set -eu
# Logs in to the Israeli train's wifi.
# To install run:
# sudo cp --preserve=mode "$HOME/Documents/train-wifi.sh" "/etc/NetworkManager/dispatcher.d/90trainwifi"
interface="$1"
status="$2"
if [ "$interface" = "ISRAEL-RAILWAYS" ] && [ "$status" = "up" ]
then
curl http://10.5.4.1/loginHandler.php?allowAccess=true
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment