forked from mirrored-repos/manjaro-tools
[util-yaml] add timers support
This commit is contained in:
parent
dc48e4e43c
commit
2ddcc62973
1 changed files with 6 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue