X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=bullseye%2Fsetup_scripts%2Fsetup_daily_reboot.sh;fp=bullseye%2Fsetup_scripts%2Fsetup_daily_reboot.sh;h=f8ed18363f9507dcb6e09a6b89b18188baa79f88;hb=ea681bb816cf1bb90b2b9ddb9caf4569306597bc;hp=0000000000000000000000000000000000000000;hpb=159dccb52eebf2e3161893e86bdc14d3ec83177a;p=config diff --git a/bullseye/setup_scripts/setup_daily_reboot.sh b/bullseye/setup_scripts/setup_daily_reboot.sh new file mode 100755 index 0000000..f8ed183 --- /dev/null +++ b/bullseye/setup_scripts/setup_daily_reboot.sh @@ -0,0 +1,9 @@ +#!/bin/sh +set -e + +# Set up system without user environment. +config_tree_prefix="${HOME}/config/bullseye" + +./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" daily_reboot +systemctl enable reboot.timer +systemctl start reboot.timer