generated from CubeCraft-Creations/Tracehound
Dev #26
+2
-2
@@ -8,7 +8,7 @@
|
|||||||
#
|
#
|
||||||
# Options:
|
# Options:
|
||||||
# --config PATH Path to config.yaml template to copy to /opt/remoterig/
|
# --config PATH Path to config.yaml template to copy to /opt/remoterig/
|
||||||
# --service-user USER Systemd service user (default: pi)
|
# --service-user USER Systemd service user (default: invoking sudo user, else pi)
|
||||||
# --static-ip IP Static IP for wlan0 (default: 192.168.8.56/24)
|
# --static-ip IP Static IP for wlan0 (default: 192.168.8.56/24)
|
||||||
# --gateway IP Gateway for wlan0 (default: 192.168.8.1)
|
# --gateway IP Gateway for wlan0 (default: 192.168.8.1)
|
||||||
# --help Show this help
|
# --help Show this help
|
||||||
@@ -19,7 +19,7 @@ set -euo pipefail
|
|||||||
# Defaults
|
# Defaults
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
CONFIG_TEMPLATE=""
|
CONFIG_TEMPLATE=""
|
||||||
SERVICE_USER="pi"
|
SERVICE_USER="${SUDO_USER:-pi}" # default to the invoking user (not every Pi has a 'pi' user)
|
||||||
STATIC_IP="192.168.8.56/24"
|
STATIC_IP="192.168.8.56/24"
|
||||||
GATEWAY="192.168.8.1"
|
GATEWAY="192.168.8.1"
|
||||||
MOSQUITTO_PKG="mosquitto mosquitto-clients"
|
MOSQUITTO_PKG="mosquitto mosquitto-clients"
|
||||||
|
|||||||
Reference in New Issue
Block a user