summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-07-10 03:34:15 +0000
committerAron Griffis <agriffis@gentoo.org>2004-07-10 03:34:15 +0000
commit1d207000e12ad6a1308bf989e5407324c9822221 (patch)
tree93f422d7ec672d6ada11ed5e63a0c9b88ba288b0 /net-firewall
parentversion bump (bug #56495) (Manifest recommit) (diff)
downloadgentoo-2-1d207000e12ad6a1308bf989e5407324c9822221.tar.gz
gentoo-2-1d207000e12ad6a1308bf989e5407324c9822221.tar.bz2
gentoo-2-1d207000e12ad6a1308bf989e5407324c9822221.zip
Fix bug 55576: Mention svc_stop/svc_start in the init-script so that runscript.sh doesn't complain
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/shorewall/ChangeLog6
-rw-r--r--net-firewall/shorewall/files/shorewall6
2 files changed, 10 insertions, 2 deletions
diff --git a/net-firewall/shorewall/ChangeLog b/net-firewall/shorewall/ChangeLog
index a1fd401ef00d..6f2f611b262d 100644
--- a/net-firewall/shorewall/ChangeLog
+++ b/net-firewall/shorewall/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-firewall/shorewall
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall/ChangeLog,v 1.48 2004/07/09 12:24:30 eldad Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall/ChangeLog,v 1.49 2004/07/10 03:34:15 agriffis Exp $
+
+ 09 Jul 2004; Aron Griffis <agriffis@gentoo.org> files/shorewall:
+ Fix bug 55576: Mention svc_stop/svc_start in the init-script so that
+ runscript.sh doesn't complain
*shorewall-2.0.4 (09 Jul 2004)
diff --git a/net-firewall/shorewall/files/shorewall b/net-firewall/shorewall/files/shorewall
index fcd20b854317..aa42c977497b 100644
--- a/net-firewall/shorewall/files/shorewall
+++ b/net-firewall/shorewall/files/shorewall
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall/files/shorewall,v 1.4 2004/03/04 19:20:40 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall/files/shorewall,v 1.5 2004/07/10 03:34:15 agriffis Exp $
opts="start stop restart"
@@ -23,6 +23,10 @@ stop() {
}
restart() {
+ # shorewall comes with its own control script that includes a
+ # restart function, so refrain from calling svc_stop/svc_start
+ # here. Note that this comment is required to fix bug 55576;
+ # runscript.sh greps this script... (09 Jul 2004 agriffis)
ebegin "Restarting firewall"
/sbin/shorewall restart
eend $?