diff options
author | Michael Lauer <mickey@vanille-media.de> | 2006-07-03 12:03:11 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-07-03 12:03:11 +0000 |
commit | 399f46f80855ab646143c4f3d5b65505b3cf36d0 (patch) | |
tree | f5fab6688e6c57701ee9a1d31d59478465f9967b /packages/initscripts/initscripts-1.0/save-rtc.sh | |
parent | 154e2d11e0915bf835aee9dddf6de954de4c68e8 (diff) | |
parent | deb7c0557bd30de7117ac42147292c07891a85e8 (diff) |
merge of 621bf027644015319adb51145e07f9d6e3195b93
and c7701984b00dc8815849c8332b5967f4c9a81ab2
Diffstat (limited to 'packages/initscripts/initscripts-1.0/save-rtc.sh')
-rw-r--r-- | packages/initscripts/initscripts-1.0/save-rtc.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/initscripts/initscripts-1.0/save-rtc.sh b/packages/initscripts/initscripts-1.0/save-rtc.sh new file mode 100644 index 0000000000..d06aa6d569 --- /dev/null +++ b/packages/initscripts/initscripts-1.0/save-rtc.sh @@ -0,0 +1,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 |