[util-yaml] add timers support

This commit is contained in:
Philip Müller 2023-04-02 14:51:17 +07:00
parent dc48e4e43c
commit 2ddcc62973

View file

@ -82,6 +82,12 @@ write_services_conf(){
echo ' mandatory: false' >> "$conf" echo ' mandatory: false' >> "$conf"
echo '' >> "$conf" echo '' >> "$conf"
done done
echo 'timers:' > "$conf"
for s in ${enable_systemd_timers[@]}; do
echo " - name: $s" >> "$conf"
echo ' mandatory: false' >> "$conf"
echo '' >> "$conf"
done
echo 'targets:' >> "$conf" echo 'targets:' >> "$conf"
echo ' - name: "graphical"' >> "$conf" echo ' - name: "graphical"' >> "$conf"
echo ' mandatory: true' >> "$conf" echo ' mandatory: true' >> "$conf"