Module Name:    src
Committed By:   kim
Date:           Fri Feb 14 12:12:07 UTC 2020

Modified Files:
        src/etc/rc.d: ip6addrctl

Log Message:
Use the configured IP6ADDRCTL_CMD for stopping also.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/etc/rc.d/ip6addrctl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/rc.d/ip6addrctl
diff -u src/etc/rc.d/ip6addrctl:1.4 src/etc/rc.d/ip6addrctl:1.5
--- src/etc/rc.d/ip6addrctl:1.4	Mon Jan 27 08:33:24 2020
+++ src/etc/rc.d/ip6addrctl	Fri Feb 14 12:12:07 2020
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: ip6addrctl,v 1.4 2020/01/27 08:33:24 kim Exp $
+# $NetBSD: ip6addrctl,v 1.5 2020/02/14 12:12:07 kim Exp $
 # FreeBSD: head/etc/rc.d/ip6addrctl 270836 2014-08-30 07:08:10Z hrs
 #
 
@@ -86,7 +86,7 @@ ip6addrctl_start()
 
 ip6addrctl_stop()
 {
-	ip6addrctl flush >/dev/null 2>&1
+	${IP6ADDRCTL_CMD} flush >/dev/null 2>&1
 }
 
 load_rc_config $name

Reply via email to