2006-11-21 12:19:17 +00:00
|
|
|
#! /bin/sh
|
2008-08-01 12:55:48 +00:00
|
|
|
### BEGIN INIT INFO
|
|
|
|
# Provides: save-rtc
|
|
|
|
# Required-Start:
|
|
|
|
# Required-Stop: $local_fs hwclock
|
|
|
|
# Default-Start: S
|
|
|
|
# Default-Stop: 0 6
|
|
|
|
# Short-Description: Store system clock into file
|
|
|
|
# Description:
|
|
|
|
### END INIT INFO
|
2006-11-21 12:19:17 +00:00
|
|
|
|
2007-09-02 14:00:52 +00:00
|
|
|
# Update the timestamp
|
2010-11-04 11:34:12 +00:00
|
|
|
date -u +%2m%2d%2H%2M%4Y > /etc/timestamp
|