1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/ps3vuart-tools/ps3hwclock.init
3 # Copyright (C) 2018 - 2021 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 # Desc: PS3 hardware clock
13 # Runlevel: 35 rcX rc2 rc3 rc4 rc5
17 block_begin(start, `Syncing system time with PS3 hardware clock')
18 check(`date +%s -s @$(ps3dm srtc get_time 1) > /dev/null')
21 block_begin(stop, `Stopping PS3 hardware clock syncing')