5672e96c1f
Based on m-p-d's domain-client pkglist and scripts from installer-feature-network-shares-client-stage3 package. Many thanks to boyarsh@ for his kind help to get this working. NB: this works on cubox but is not yet ready for installers!
11 lines
269 B
Bash
Executable File
11 lines
269 B
Bash
Executable File
#!/bin/sh -efu
|
|
|
|
dhcpcd_conf="/etc/dhcpcd.conf"
|
|
|
|
[ -f "$dhcpcd_conf" ] || exit 0
|
|
|
|
grep -q '^option[[:blank:]]\+vendor_encapsulated_options' "$dhcpcd_conf" || {
|
|
echo "# added by 70-network-shares-dhcpcd.sh"
|
|
echo "option vendor_encapsulated_options"
|
|
} >> "$dhcpcd_conf"
|