diff --git a/Documents/bin/train-wifi b/Documents/bin/train-wifi index 1b4062ac805ac8ed930d8d4b1109e357cb5b0878..9ce242e0b39a0ac69e5c192c454953abfb0dcbc8 100755 --- a/Documents/bin/train-wifi +++ b/Documents/bin/train-wifi @@ -23,8 +23,14 @@ # Logs in to the Israeli train's wifi. # Requires: cURL, sh, awk, logger, nmcli. -# To install run: +# To install, clone the repo, cd to this directory and run: +# # sudo cp --preserve=mode train-wifi /etc/NetworkManager/dispatcher.d/90trainwifi +# +# If you don't want to clone the repo but you just want this script, run: +# +# curl https://www.shore.co.il/cgit/rcfiles/plain/Documents/bin/train-wifi | sudo tee /etc/NetworkManager/dispatcher.d/90trainwifi +# sudo chmod +x /etc/NetworkManager/dispatcher.d/90trainwifi set -eu