Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2019-07-20 01:52:33 +0300
committernachoparker <nacho@ownyourbits.com>2019-07-20 19:46:27 +0300
commit404907f922ffd487c848a9aeac5b70292acd535b (patch)
treed7d80e2537acab8bafa33fc66b055ce16adaa6ec /build-SD-rpi.sh
parente4bd5feb665f1ba924887e4dcd7e1cca665898b7 (diff)
raspi: fix dhcp bug
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'build-SD-rpi.sh')
-rwxr-xr-xbuild-SD-rpi.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/build-SD-rpi.sh b/build-SD-rpi.sh
index 178913bc..d4195ebd 100755
--- a/build-SD-rpi.sh
+++ b/build-SD-rpi.sh
@@ -72,6 +72,13 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
run_app_unsafe bin/ncp/CONFIG/nc-init.sh
run_app_unsafe post-inst.sh
+ # work around dhcpcd Raspbian bug
+ # https://lb.raspberrypi.org/forums/viewtopic.php?t=230779
+ # https://github.com/nextcloud/nextcloudpi/issues/938
+ apt-get update
+ apt-get install -y --no-install-recommends haveged
+ systemctl enable haveged.service
+
# harden SSH further for Raspbian
sed -i 's|^#PermitRootLogin .*|PermitRootLogin no|' /etc/ssh/sshd_config