Source-Changes-HG archive

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

[src/netbsd-1-6]: src/etc/rc.d Pull up revision 1.9 (requested by grant in ti...



details:   https://anonhg.NetBSD.org/src/rev/f8c346f0f135
branches:  netbsd-1-6
changeset: 530395:f8c346f0f135
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Jun 19 20:35:36 2003 +0000

description:
Pull up revision 1.9 (requested by grant in ticket #1321):
 Change behaviour of 'reload' to only reload the NAT rules and NOT flush
 the state table, making it much more useful.

diffstat:

 etc/rc.d/ipnat |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 8cdb268cb9e5 -r f8c346f0f135 etc/rc.d/ipnat
--- a/etc/rc.d/ipnat    Thu Jun 19 20:31:05 2003 +0000
+++ b/etc/rc.d/ipnat    Thu Jun 19 20:35:36 2003 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: ipnat,v 1.7.2.1 2002/10/24 09:34:47 lukem Exp $
+# $NetBSD: ipnat,v 1.7.2.2 2003/06/19 20:35:36 msaitoh Exp $
 #
 
 # PROVIDE: ipnat
@@ -14,7 +14,8 @@
 config="/etc/ipnat.conf"
 start_cmd="ipnat_start"
 stop_cmd="/usr/sbin/ipnat -F -C"
-reload_cmd="/usr/sbin/ipnat -F -C -f ${config}"
+reload_cmd="/usr/sbin/ipnat -C -f ${config}"
+restart_cmd="/usr/sbin/ipnat -F -C -f ${config}"
 extra_commands="reload"
 
 ipnat_start()



Home | Main Index | Thread Index | Old Index