diff options
author | Zendai <victorray91@pm.me> | 2022-03-03 00:36:03 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2022-03-03 19:44:52 +0300 |
commit | 062c803d20105f2bd0687f4d1b1d8637d3e29e85 (patch) | |
tree | 7ad47324954b1db007d46f6d890569e92f5da69e | |
parent | 06ba8a0411f277724b7f773623b693a8fdfbf77d (diff) |
ncp-dist-upgrade: add DHCP fix for raspiosv1.46.5
Added a sed -i statement that changes the necessary line in /etc/systemd/system/dhcpcd.service.d/wait.conf so DHCP works after a reboot.
Signed-off-by: ZendaiOwl victorray91@pm.me
fix
-rwxr-xr-x | bin/ncp-dist-upgrade | 5 | ||||
-rw-r--r-- | changelog.md | 14 |
2 files changed, 13 insertions, 6 deletions
diff --git a/bin/ncp-dist-upgrade b/bin/ncp-dist-upgrade index 576fca57..ca7afd74 100755 --- a/bin/ncp-dist-upgrade +++ b/bin/ncp-dist-upgrade @@ -53,6 +53,11 @@ sed -i 's/buster/bullseye/g' /etc/apt/sources.list.d/* || true sed -i 's/bullseye\/updates/bullseye-security/g' /etc/apt/sources.list rm -f /etc/apt/sources.list.d/php.list +# fix DHCP systemd service command https://forums.raspberrypi.com/viewtopic.php?t=320383 in raspbian +if [[ -f /usr/bin/raspi-config ]]; then + sed -i 's|ExecStart=/usr/lib/dhcpcd5/dhcpcd -q -w|ExecStart=/usr/sbin/dhcpcd -q -w|g' /etc/systemd/system/dhcpcd.service.d/wait.conf +fi + # install latest distro apt-get update apt-get dist-upgrade -y diff --git a/changelog.md b/changelog.md index 6cd84b83..d894edac 100644 --- a/changelog.md +++ b/changelog.md @@ -1,15 +1,17 @@ -[v1.46.4](https://github.com/nextcloud/nextcloudpi/commit/ee27cf1) (2022-03-02) nc-scan: check for maintenance mode enabled +[v1.46.5](https://github.com/nextcloud/nextcloudpi/commit/7d4ba40) (2022-03-02) ncp-dist-upgrade: add DHCP fix for raspios -[v1.46.3 ](https://github.com/nextcloud/nextcloudpi/commit/638cfce) (2022-03-02) nc-trusted-domains: dont return 1 if last domain is empty +[v1.46.4 ](https://github.com/nextcloud/nextcloudpi/commit/06ba8a0) (2022-03-02) nc-scan: check for maintenance mode enabled -[v1.46.2 ](https://github.com/nextcloud/nextcloudpi/commit/2ba1478) (2022-03-02) samba: fix usernames with spaces +[v1.46.3 ](https://github.com/nextcloud/nextcloudpi/commit/6245770) (2022-03-02) nc-trusted-domains: dont return 1 if last domain is empty -[v1.46.1 ](https://github.com/nextcloud/nextcloudpi/commit/b4ef137) (2022-03-02) nc-datadir: include dotfiles +[v1.46.2 ](https://github.com/nextcloud/nextcloudpi/commit/a834ba0) (2022-03-02) samba: fix usernames with spaces -[v1.46.0 ](https://github.com/nextcloud/nextcloudpi/commit/2b59e26) (2022-03-01) upgrade to NC23.0.2 +[v1.46.1 ](https://github.com/nextcloud/nextcloudpi/commit/f8af35b) (2022-03-02) nc-datadir: include dotfiles -[v1.45.0 ](https://github.com/nextcloud/nextcloudpi/commit/5c8e5ea) (2021-11-09) update to Debian 11 Bullseye +[v1.46.0 ](https://github.com/nextcloud/nextcloudpi/commit/878f08f) (2022-03-01) upgrade to NC23.0.2 + +[v1.45.0 ](https://github.com/nextcloud/nextcloudpi/commit/9bf5ff0) (2021-11-09) update to Debian 11 Bullseye [v1.44.8](https://github.com/nextcloud/nextcloudpi/commit/dd8fc3d) (2022-01-10) fix update from pre-1.46 to post-1.46 not working in docker (#1406) |