summaryrefslogtreecommitdiff
path: root/recipes/shr/initscripts-shr/save-rtc.sh
blob: e786073051e46f21944e8c16bc5276801463ad25 (plain)
1
2
3
4
5
#! /bin/sh
/etc/init.d/hwclock.sh stop

# Update the timestamp
date +%2m%2d%2H%2M%Y > /etc/timestamp