Juergen Daubert
9daf5006bb
Note ---- as of version 9.x dhcpcd requires a dedicated user to run with the new privsep option. Run the provided pre-install script to create the new user/group dhcpcd.
7 lines
175 B
Bash
7 lines
175 B
Bash
#!/bin/sh
|
|
|
|
getent group dhcpcd || /usr/sbin/groupadd -r dhcpcd
|
|
getent passwd dhcpcd || /usr/sbin/useradd -r -d /var/lib/dhcpcd -s /bin/false dhcpcd
|
|
/usr/bin/passwd -l dhcpcd
|
|
|