Module Name: src
Committed By: mrg
Date: Thu Nov 1 06:06:15 UTC 2012
Modified Files:
src/etc/rc.d: npf
Log Message:
catch up with npfctl moving to /sbin.
untested, but i guess so was the move itself ;)
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/etc/rc.d/npf
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/npf
diff -u src/etc/rc.d/npf:1.2 src/etc/rc.d/npf:1.3
--- src/etc/rc.d/npf:1.2 Mon Mar 7 23:21:13 2011
+++ src/etc/rc.d/npf Thu Nov 1 06:06:14 2012
@@ -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 @@ npf_start()
{
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()