comparison hooks/50-yp.conf @ 5535:a0d828e25482 draft

Add --noconfigure option With this set dhcpcd will not configure anything on the host. The expectation is that a 3rd party script will instead.
author Roy Marples <roy@marples.name>
date Wed, 04 Nov 2020 14:18:48 +0000
parents 0b2abe4e9d2e
children
comparison
equal deleted inserted replaced
5534:605f7f9a20c0 5535:a0d828e25482
48 if [ -n "$pid" ]; then 48 if [ -n "$pid" ]; then
49 kill -HUP "$pid" 49 kill -HUP "$pid"
50 fi 50 fi
51 } 51 }
52 52
53 if $if_up; then 53 if $if_configured; then
54 make_yp_conf 54 if $if_up; then
55 elif $if_down; then 55 make_yp_conf
56 restore_yp_conf 56 elif $if_down; then
57 restore_yp_conf
58 fi
57 fi 59 fi