Mercurial > hg > dhcpcd
comparison hooks/30-hostname.in @ 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 | b1808edeb35d |
| children |
comparison
equal
deleted
inserted
replaced
| 5534:605f7f9a20c0 | 5535:a0d828e25482 |
|---|---|
| 151 new_fqdn="$new_dhcp6_fqdn" | 151 new_fqdn="$new_dhcp6_fqdn" |
| 152 old_fqdn="$old_dhcp6_fqdn" | 152 old_fqdn="$old_dhcp6_fqdn" |
| 153 ;; | 153 ;; |
| 154 esac | 154 esac |
| 155 | 155 |
| 156 if $if_up && [ "$reason" != ROUTERADVERT ]; then | 156 if $if_configured && $if_up && [ "$reason" != ROUTERADVERT ]; then |
| 157 set_hostname | 157 set_hostname |
| 158 fi | 158 fi |
