From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Another Install Issue
Date: Mon, 17 Oct 2011 09:15:00 +0100 [thread overview]
Message-ID: <20111017091500.5e600736@zaphod.digimed.co.uk> (raw)
In-Reply-To: <4E9B5C37.7060501@binarywings.net>
[-- Attachment #1: Type: text/plain, Size: 617 bytes --]
On Mon, 17 Oct 2011 00:35:35 +0200, Florian Philipp wrote:
> preup() {
> if [ "$IFACE" = eth0 ]; then
> ebegin "Reloading broadcom and tg3 modules"
> modprobe -r foo bar &&
> modprobe broadcom &&
> modprobe tg3
> ewend $? "Failed to reload modules"
> fi
> return 0
> }
This seems more elegant than a separate init script, but do you want it
to return 0 unconditionally? If the modules fail to load, surely you want
the attempt to bring the interface up to abort?
--
Neil Bothwick
Famed tautologist dies of suicide in distressing tragedy
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2011-10-17 8:16 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-15 23:05 [gentoo-user] Another Install Issue CJoeB
2011-10-16 9:59 ` Stroller
2011-10-16 13:27 ` CJoeB
2011-10-16 10:05 ` Florian Philipp
2011-10-16 10:18 ` Mick
2011-10-16 22:35 ` Florian Philipp
2011-10-16 22:46 ` Alex Schuster
2011-10-17 6:03 ` Florian Philipp
2011-10-17 8:15 ` Neil Bothwick [this message]
2011-10-17 11:19 ` Mick
2011-10-17 11:30 ` Neil Bothwick
2011-10-17 12:39 ` Florian Philipp
2011-10-17 12:48 ` Neil Bothwick
2011-10-17 12:40 ` J. Roeleveld
2011-10-17 13:09 ` Florian Philipp
2011-10-16 10:43 ` Mick
2011-10-16 12:59 ` Florian Philipp
2011-10-16 15:05 ` CJoeB
2011-10-16 15:29 ` Matthew Finkel
2011-10-16 16:08 ` CJoeB
2011-10-16 17:37 ` Mick
2011-10-16 19:19 ` CJoeB
2011-10-16 20:43 ` Florian Philipp
2011-10-16 14:52 ` CJoeB
2011-10-16 16:02 ` Mick
2011-10-16 21:24 ` Neil Bothwick
2011-10-16 22:03 ` Mick
2011-10-16 22:04 ` CJoeB
2011-10-16 22:23 ` Mick
2011-10-17 0:24 ` CJoeB
2011-10-18 18:31 ` Colleen Beamer
2011-10-18 18:50 ` Mick
2011-10-16 21:23 ` Neil Bothwick
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=20111017091500.5e600736@zaphod.digimed.co.uk \
--to=neil@digimed.co.uk \
--cc=gentoo-user@lists.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