From 0a87d99e37595ce8ba676f94b94e2f20e220913a Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Tue, 14 Oct 2025 09:12:21 -0600 Subject: [PATCH] k0boldz \ --- installer_auto.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/installer_auto.sh b/installer_auto.sh index 89b8f91..24345c0 100644 --- a/installer_auto.sh +++ b/installer_auto.sh @@ -47,6 +47,19 @@ run_reboot () { sudo shutdown -r +$long_delay } +services_cmd () + short_sleep + + if [ -z $1 ]; then + echo "Usage: bash services.sh stop|start|restart|status|enable" + exit + fi + + echo -e "\nRunning $1 on Services\n" + sudo systemctl $1 gpsd chrony influxdb telegraf grafana-server syslog-ng + echo "services complete" >> $status_log +} + dump_configs () { dname=./conf-$(date +%s)