Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/rc.d catch up with npfctl moving to /sbin.



details:   https://anonhg.NetBSD.org/src/rev/3600d2235369
branches:  trunk
changeset: 782385:3600d2235369
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Nov 01 06:06:14 2012 +0000

description:
catch up with npfctl moving to /sbin.
untested, but i guess so was the move itself ;)

diffstat:

 etc/rc.d/npf |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (39 lines):

diff -r 8c04b3d88263 -r 3600d2235369 etc/rc.d/npf
--- a/etc/rc.d/npf      Thu Nov 01 03:26:42 2012 +0000
+++ b/etc/rc.d/npf      Thu Nov 01 06:06:14 2012 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: npf,v 1.2 2011/03/07 23:21:13 jmcneill Exp $
+# $NetBSD: npf,v 1.3 2012/11/01 06:06:14 mrg Exp $
 #
 # Public Domain.
 #
@@ -35,22 +35,22 @@
 {
        echo "Enabling NPF."
        npf_cfg_check
-       /usr/sbin/npfctl reload
-       /usr/sbin/npfctl start
+       /sbin/npfctl reload
+       /sbin/npfctl start
 }
 
 npf_stop()
 {
        echo "Disabling NPF."
-       /usr/sbin/npfctl stop
-       /usr/sbin/npfctl flush
+       /sbin/npfctl stop
+       /sbin/npfctl flush
 }
 
 npf_reload()
 {
        echo "Reloading NPF ruleset."
        npf_cfg_check
-       /usr/sbin/npfctl reload
+       /sbin/npfctl reload
 }
 
 npf_status()



Home | Main Index | Thread Index | Old Index