diff --git a/config/backup/backup.pl b/config/backup/backup.pl index e08d8de84..5b5734044 100644 --- a/config/backup/backup.pl +++ b/config/backup/backup.pl @@ -79,6 +79,14 @@ restore_backup() { # remove wrong vnstat tag file rm -f /var/log/vnstat/tag + # create dhcpcd user + groupadd -g 52 dhcpcd + useradd -c 'dhcpcd privsep user' \ + -d /run/dhcpcd/chroot \ + -g dhcpcd \ + -s /bin/false \ + -u 52 dhcpcd + # Run converters # Outgoing Firewall diff --git a/config/rootfiles/core/144/filelists/files b/config/rootfiles/core/144/filelists/files index ce4e51768..ead2c54b7 100644 --- a/config/rootfiles/core/144/filelists/files +++ b/config/rootfiles/core/144/filelists/files @@ -2,3 +2,6 @@ etc/system-release etc/issue srv/web/ipfire/cgi-bin/credits.cgi var/ipfire/langs +etc/rc.d/init.d/mountkernfs +etc/rc.d/init.d/networking/functions.network +etc/rc.d/init.d/networking/red diff --git a/config/rootfiles/core/144/update.sh b/config/rootfiles/core/144/update.sh index 6a9c51931..103f8ebc7 100644 --- a/config/rootfiles/core/144/update.sh +++ b/config/rootfiles/core/144/update.sh @@ -56,6 +56,14 @@ ldconfig # Start services +# create dhcpcd user +groupadd -g 52 dhcpcd +useradd -c 'dhcpcd privsep user' \ + -d /run/dhcpcd/chroot \ + -g dhcpcd \ + -s /bin/false \ + -u 52 dhcpcd + # Update Language cache /usr/local/bin/update-lang-cache