From 0ff7761f19d84a75a9ee678b5273c58359104138 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sat, 3 Jun 2017 10:16:10 +0300
Subject: [PATCH] - More documentation for install the train wifi login script.

---
 Documents/bin/train-wifi | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/Documents/bin/train-wifi b/Documents/bin/train-wifi
index 1b4062a..9ce242e 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
 
-- 
GitLab