mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
added adjtime support
This commit is contained in:
parent
ac1caf6a5e
commit
2102f168f2
1
board/common/overlay/etc/adjtime
Symbolic link
1
board/common/overlay/etc/adjtime
Symbolic link
@ -0,0 +1 @@
|
||||
/data/etc/adjtime
|
@ -22,7 +22,7 @@ case "$1" in
|
||||
msg_begin "Formatting data partition"
|
||||
mkfs.ext4 -q $data_dev
|
||||
test $? == 0 && msg_done || msg_fail
|
||||
|
||||
|
||||
msg_begin "Mounting data partition"
|
||||
mount /data
|
||||
test $? == 0 && msg_done || msg_fail
|
||||
@ -33,8 +33,8 @@ case "$1" in
|
||||
mkdir -m 775 /data/output
|
||||
mkdir -m 775 /data/media
|
||||
cp /etc/version /data/etc/version
|
||||
|
||||
ln -s /usr/share/zoneinfo/UTC /data/etc/localtime
|
||||
touch /data/etc/adjtime
|
||||
msg_done
|
||||
|
||||
# mount other partitions depending on data
|
||||
|
Loading…
x
Reference in New Issue
Block a user