summaryrefslogtreecommitdiffstats
path: root/meta/packages/initscripts/initscripts-1.0/save-rtc.sh
blob: d06aa6d5693160073faaf0036254e0e8e276b96e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh
#
# Copyright Matthias Hentges <devel@hentges.net> (c) 2006
# License: GPL (see http://www.gnu.org/licenses/gpl.txt for a copy of the license)
#
# Filename: save-rtc.sh
# Date: 03-Jul-06


# Update the timestamp, if there is already one
if test -e /etc/timestamp
then
	echo "Will restore RCT from /etc/timestamp on next boot"
	echo "Delete that file to disable this feature."
        date +%2m%2d%2H%2M%Y > /etc/timestamp
fi