Commit Graph

6 Commits

Author SHA1 Message Date
John-Mark Gurney
978243bd80 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
Christian Brueffer
f212b18409 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
Sheldon Hearn
256ab0ef06 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
Ruslan Ermilov
29d19e86ae Make this really work. 2001-06-18 12:35:14 +00:00
Daniel C. Sobral
db97c662cf 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
Daniel C. Sobral
7b4d3c72cc 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