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 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/packages/initscripts/initscripts-1.0/save-rtc.sh b/meta/packages/initscripts/initscripts-1.0/save-rtc.sh new file mode 100644 index 0000000000..d06aa6d569 --- /dev/null +++ b/meta/packages/initscripts/initscripts-1.0/save-rtc.sh | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | #! /bin/sh | ||
| 2 | # | ||
| 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 | |||
| 9 | |||
| 10 | # Update the timestamp, if there is already one | ||
| 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 | ||
