Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
userdoc:tt-dhcpv6-prefix-delegation [2017/06/07 10:19] abelbeck [DHCPv6 Client Action Script] |
userdoc:tt-dhcpv6-prefix-delegation [2017/06/07 10:20] (current) abelbeck [DHCPv6 Client Action Script] |
||
---|---|---|---|
Line 79: | Line 79: | ||
#!/bin/bash | #!/bin/bash | ||
| | ||
- | if [ -n "$dhcp6c_prefix" ]; then | + | case "$dhcp6c_changed" in |
- | case "$dhcp6c_changed" in | + | yes) changed=" (changed)" ;; |
- | yes) changed=" (changed)" ;; | + | no) changed=" (no change)" ;; |
- | no) changed=" (no change)" ;; | + | *) changed="" ;; |
- | *) changed="" ;; | + | esac |
- | esac | + | logger -t dhcp6c -p kern.info "IPv6 Prefix$changed: $dhcp6c_prefix" |
- | logger -t dhcp6c -p kern.info "IPv6 Prefix$changed: $dhcp6c_prefix" | + | |
- | fi | + | |
===== Debugging DHCPv6 ===== | ===== Debugging DHCPv6 ===== | ||