testan a reboold

This commit is contained in:
2025-10-14 07:04:42 -06:00
parent 9da4025b00
commit 28851f0b35
+4 -3
View File
@@ -25,6 +25,7 @@ udev_rule="/etc/udev/rules.d/50-tty.rules"
bootfirmwareconfig="/boot/firmware/config.txt" bootfirmwareconfig="/boot/firmware/config.txt"
sudoers="/etc/sudoers" sudoers="/etc/sudoers"
# hwclockset="/lib/udev/hwclock-set" # hwclockset="/lib/udev/hwclock-set"
# new conf file paths # new conf file paths
gpsd_new=""$1/gpsd"" gpsd_new=""$1/gpsd""
chrony_new="$1/chrony.conf" chrony_new="$1/chrony.conf"
@@ -33,15 +34,15 @@ influxdb_new="$1/influxdb.conf"
telegraf_new="$1/telegraf.conf" telegraf_new="$1/telegraf.conf"
udev_new="$1/50-tty.rules" udev_new="$1/50-tty.rules"
bootfirmwareconfig_new="$1/boot-firmware-config.txt" bootfirmwareconfig_new="$1/boot-firmware-config.txt"
# hwclockset_new="$1/hwclock-set"
crontab_new="$1/root-crontab" crontab_new="$1/root-crontab"
sudoers_new="$1/sudoers" sudoers_new="$1/sudoers"
# hwclockset_new="$1/hwclock-set"
# stop da services # stop da services
bash ./services.sh stop bash /home/$username/services.sh stop
# backup conf # backup conf
bash ./dump_configs.sh bash /home/$username/dump_configs.sh
# replace dem by truncation # replace dem by truncation
echo "Placing the new config files by truncation..." echo "Placing the new config files by truncation..."