k0boldz \

This commit is contained in:
2025-10-14 09:12:21 -06:00
parent 33a3e5d8f9
commit 0a87d99e37
+13
View File
@@ -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)