1
0
Fork 0
mirror of https://github.com/pygos/init-scripts.git synced 2024-11-14 17:07:11 +01:00
init-scripts/services/swclocksave.in

8 lines
167 B
Text
Raw Normal View History

description write current time to backup file
type wait
target %0
after sigkill
before sync
tty truncate @STATEFILESPATH@/swclock
exec date --utc +%%m%%d%%H%%M%%Y.%%S