diff options
Diffstat (limited to 'meta/packages/initscripts/initscripts-1.0/save-rtc.sh')
| -rw-r--r-- | meta/packages/initscripts/initscripts-1.0/save-rtc.sh | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/meta/packages/initscripts/initscripts-1.0/save-rtc.sh b/meta/packages/initscripts/initscripts-1.0/save-rtc.sh index d06aa6d569..e786073051 100644 --- a/meta/packages/initscripts/initscripts-1.0/save-rtc.sh +++ b/meta/packages/initscripts/initscripts-1.0/save-rtc.sh | |||
| @@ -1,16 +1,5 @@ | |||
| 1 | #! /bin/sh | 1 | #! /bin/sh |
| 2 | # | 2 | /etc/init.d/hwclock.sh stop |
| 3 | # Copyright Matthias Hentges <devel@hentges.net> (c) 2006 | ||
| 4 | # License: GPL (see http://www.gnu.org/licenses/gpl.txt for a copy of the license) | ||
| 5 | # | ||
| 6 | # Filename: save-rtc.sh | ||
| 7 | # Date: 03-Jul-06 | ||
| 8 | 3 | ||
| 9 | 4 | # Update the timestamp | |
| 10 | # Update the timestamp, if there is already one | 5 | date +%2m%2d%2H%2M%Y > /etc/timestamp |
| 11 | if test -e /etc/timestamp | ||
| 12 | then | ||
| 13 | echo "Will restore RCT from /etc/timestamp on next boot" | ||
| 14 | echo "Delete that file to disable this feature." | ||
| 15 | date +%2m%2d%2H%2M%Y > /etc/timestamp | ||
| 16 | fi | ||
