From 8b8d83fa3f2643cbdaf45ae7bcaa4c9b904e7c62 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Tue, 14 Oct 2025 11:55:35 -0600 Subject: [PATCH] wooo --- installer_auto.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/installer_auto.sh b/installer_auto.sh index 5b6d939..bc13a81 100644 --- a/installer_auto.sh +++ b/installer_auto.sh @@ -18,6 +18,9 @@ packages="util-linux util-linux-extra gawk telegraf grafana influxdb restic buil # purge packages purge_packages='"apt purge -y "bluetooth*" "usb*" "wireless*" "pci*" "fonts*" "bluez*" "alsa*"' +# services +services="gpsd gpsd.socket chrony influxdb telegraf grafana-server syslog-ng" + # configs place in system gpsd="/etc/default/gpsd" chrony="/etc/chrony/conf.d/precision_timekeeping.conf" @@ -70,7 +73,7 @@ services_cmd () { fi echo -e "\nRunning $1 on Services\n" - sudo systemctl $1 gpsd chrony influxdb telegraf grafana-server syslog-ng + sudo bash -c "systemctl $1 $services" echo "services complete" >> $status_log }