Commit 97386378 authored by clewsy's avatar clewsy

Sudo is no longer needed - make install target sets the suid bit.

parent 9391f993
......@@ -6,11 +6,11 @@
## Once connected, runs $COMMAND
## Intended to run p0wer programme on p0wer server to switch on/off a selected mains point.
LOC_USER="b4t" # User for attempting local network connection (faster).
LOC_SERVER="p0wer" # Hostname fo rattempting local network connection.
REM_USER="b4t" # User for attempting remote network connection (if local fails)
REM_SERVER="b4t.site" # Hostname for remote network connection.
COMMAND="sudo p0wer a on" # Command to run on server.
LOC_USER="b4t" # User for attempting local network connection (faster).
LOC_SERVER="p0wer" # Hostname fo rattempting local network connection.
REM_USER="b4t" # User for attempting remote network connection (if local fails)
REM_SERVER="b4t.site" # Hostname for remote network connection.
COMMAND="p0wer a on" # Command to run on server.
echo "Desired command on target: \"${COMMAND}\""
echo "Attempting local connection."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment