You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
init-scripts/services/swclocksave.in

8 lines
167 B

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