testan a reboold

This commit is contained in:
2025-10-14 06:21:53 -06:00
parent aa5eabcfad
commit fef88f357c
6 changed files with 193 additions and 3 deletions
+5 -3
View File
@@ -61,16 +61,18 @@ sudo bash -c "cat $udev_new > $udev_rule"
# setup and install root crontabs
echo -e "\tInstalling crontabs! just save file and exit with no edits"
read -p "Press ENTER to Continue"
sudo crontab -e
(sudo crontab -l 2>/dev/null && sudo cat $crontab_new) | sudo crontab -
## test it
# sudo visudo -c
# set up passwordless sudo
## backup first
sudo cp /etc/sudoers /etc/sudoers.bak
## replace sudoers with mine
sudo cat $sudoers_new > $sudoers
## test it
# sudo visudo -c
## config hwclockset
# config hwclockset
# echo -e "\tConfiguring hwclockset"
# sudo bash -c "cat $hwclockset_new > $hwclockset"