public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Norberto Bensa <nbensa@gmx.net>
To: mholzer@gentoo.org
Cc: gentoo-dev@gentoo.org
Subject: [gentoo-dev] Shorewall init script
Date: Thu, 23 Oct 2003 19:03:23 -0300	[thread overview]
Message-ID: <200310231903.25826.nbensa@gmx.net> (raw)

[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 636 bytes --]

Hello

on /etc/init.d/shorewall restart, the script complains with:

	* Please use 'svc_stop; svc_start' and not 'start; stop' to
	* restart the service in its custom 'restart()' function.
	* Run shorewall without arguments for more info.

But if you modify the shorewall init script to read:

	restart() {
	        ebegin "Restarting firewall"
	        # svc_stop; svc_start;
	        /sbin/shorewall restart 1>/dev/null
	        eend $?
	}

There's no more complains, and you'll preserve the script functionality ;-)

Regards,
Norberto

-- 
 18:59:53 up 7 days,  2:37,  1 user,  load average: 0.03, 0.01, 0.00

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

                 reply	other threads:[~2003-10-23 22:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200310231903.25826.nbensa@gmx.net \
    --to=nbensa@gmx.net \
    --cc=gentoo-dev@gentoo.org \
    --cc=mholzer@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox