Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc/rc.d Rearrange so the ouput of this is a bit more cosmetic.
details: https://anonhg.NetBSD.org/src/rev/bea1606441e5
branches: trunk
changeset: 483524:bea1606441e5
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sun Mar 12 03:49:36 2000 +0000
description:
Rearrange so the ouput of this is a bit more cosmetic.
diffstat:
etc/rc.d/ipnat | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r 4e2cc41df39d -r bea1606441e5 etc/rc.d/ipnat
--- a/etc/rc.d/ipnat Sun Mar 12 03:49:11 2000 +0000
+++ b/etc/rc.d/ipnat Sun Mar 12 03:49:36 2000 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: ipnat,v 1.1.1.1 2000/03/10 11:53:25 lukem Exp $
+# $NetBSD: ipnat,v 1.2 2000/03/12 03:49:36 thorpej Exp $
#
# PROVIDE: ipnat
@@ -26,11 +26,11 @@
if [ ! -f ${config} ]; then
return 0
fi
- echo "Installing NAT rules ..."
if ! checkyesno ipfilter || [ ! -f /etc/ipf.conf ]; then
- echo " (enabling ipfilter)"
+ echo "Enabling ipfilter for NAT."
/sbin/ipf -E -Fa
fi
+ echo -n "Installing NAT rules ... "
/usr/sbin/ipnat -F -f ${config}
}
Home |
Main Index |
Thread Index |
Old Index