[fix] Add fake-hwclock to avoid RTC 1970 date
A20 Allwinner seems to have a RTC but i think this one can't work when the board is shutdown (during several minutes/hours/days ?). This package register the last date and set it early in the boot process.
This commit is contained in:
committed by
Sebastien Badia
parent
5654b6d0b2
commit
a642a01029
@@ -32,7 +32,7 @@ fi
|
|||||||
ynh_webpath_register vpnclient $domain $url_path || ynh_die "problem on domain/path availability" 1
|
ynh_webpath_register vpnclient $domain $url_path || ynh_die "problem on domain/path availability" 1
|
||||||
|
|
||||||
# Install packages
|
# Install packages
|
||||||
packages='php5-fpm sipcalc dnsutils openvpn curl'
|
packages='php5-fpm sipcalc dnsutils openvpn curl fake-hwclock'
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
sudo apt-get --assume-yes --force-yes install ${packages}
|
sudo apt-get --assume-yes --force-yes install ${packages}
|
||||||
|
Reference in New Issue
Block a user