]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Add ROUTERADVERT to dhcpcd-run-hooks(8)
authorRoy Marples <roy@marples.name>
Thu, 15 Dec 2011 03:13:15 +0000 (03:13 +0000)
committerRoy Marples <roy@marples.name>
Thu, 15 Dec 2011 03:13:15 +0000 (03:13 +0000)
dhcpcd-run-hooks.8.in
dhcpcd-run-hooks.in

index 1a1f70229965d5a61d1845b11d1dd9a82a5cfcd2..ccfb704af8f981a1d3efbb500c9b9fa713a7c65e 100644 (file)
@@ -22,7 +22,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd March 23, 2011
+.Dd December 15, 2011
 .Dt DHCPCD-RUN-HOOKS 8 SMM
 .Os
 .Sh NAME
@@ -69,7 +69,7 @@ argument.
 Here's a list of reasons why
 .Nm
 could be invoked:
-.Bl -tag -width PREINIT
+.Bl -tag -width ROUTERADVERT
 .It Dv PREINIT
 dhcpcd is starting up and any pre-initialisation should be done.
 .It Dv CARRIER
@@ -119,6 +119,8 @@ dhcpcd received an OFFER from a DHCP server but will not configure the
 interface.
 This is primarily used to test the variables are filled correctly for the
 script to process them.
+.It Dv ROUTERADVERT
+dhcpcd has received an IPv6 Router Advertisment, or one has expired.
 .El
 .Sh FILES
 When
index 0e603381d91426e58de24e23b85f0a8e1a7ee9a7..8c1871e87c8f7278d77c79d516fdd39bd758d084 100644 (file)
@@ -12,8 +12,8 @@ state_dir=/var/run/dhcpcd
 if_up=false
 if_down=false
 case "$reason" in
-BOUND|INFORM|REBIND|REBOOT|RENEW|TIMEOUT|STATIC)       if_up=true;;
-PREINIT|EXPIRE|FAIL|IPV4LL|NAK|NOCARRIER|RELEASE|STOP) if_down=true;;
+BOUND|INFORM|REBIND|REBOOT|RENEW|TIMEOUT|STATIC|ROUTERADVERT)  if_up=true;;
+PREINIT|EXPIRE|FAIL|IPV4LL|NAK|NOCARRIER|RELEASE|STOP)         if_down=true;;
 esac
 
 # Ensure that all arguments are unique