1
0
Fork 0
mirror of https://github.com/pygos/init-scripts.git synced 2024-05-06 14:16:13 +02:00
init-scripts/services/swclocksave.in
David Oberhollenzer 021fa43244 Initial commit
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-05 16:11:47 +01:00

8 lines
167 B
Plaintext

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