Commit Graph

6 Commits

Author SHA1 Message Date
jmg
fd13c41de0 make sure we really don't have a tty when installing rules. This prevents
a flush command from asking a question (you can't see):
If there is no tty associated with the process, this is implied.

MFC after: 1 day
2003-09-07 07:52:56 +00:00
brueffer
076fc9c38d Various spelling and grammar fixes
PR:		44312
Submitted by:	Chris Pepper <pepper@rockefeller.edu>
MFC after:	3 days
2003-02-13 12:02:51 +00:00
sheldonh
35e38b93a1 1) Fix change_rules.sh for the case where firewall_type provides the
name of a file containing ipfw rules.

2) Replace the use of a predictable temporary filename with one
   generated by mktemp(1).

3) Only exit with a zero exit status if the rules were updated.

4) Use a pager to view the new rules, not an editor.

I was told by dcs that this script's original author is no longer
interested in FreeBSD and would not wish to review this patch.
2001-09-30 14:30:55 +00:00
ru
807abe6dfe Make this really work. 2001-06-18 12:35:14 +00:00
dcs
6959a0fe93 Use ${EDITOR} as claimed.
Source rc.conf and use ${firewall_script} instead of rc.firewall.

Textwidth formatting of comments and text.

PR:
Submitted by:	Maxim <maxim@news1.macomnet.ru>

(sorry if I got name/email/committer status wrong :)
2001-06-06 19:34:02 +00:00
dcs
7167c93cc4 Introduce an example script of safe changing of ipfw(8) rules.
I'm sure this can be much improved, but this works fairly well.

PR:		27887
Submitted by:	Alexandre Peixoto <alexandref@tcoip.com.br>
MFC after:	1 week
2001-06-06 15:45:04 +00:00