sm-grimoire AT lists.ibiblio.org
Subject: Discussion of Spells and Grimoire items
List archive
- From: "Eric Sandall" <eric AT sandall.us>
- To: sm-grimoire AT lists.ibiblio.org
- Subject: Re: [SM-Grimoire] network.sh
- Date: Thu, 24 Jul 2003 08:13:52 -0700 (PDT)
Craig Dyke said:
> Almost forgot ... something else that had been bugging me lately
> was that I noticed when ever I changed runlevels (3 or 5) that
> I keep getting a failed message about my NIC module already
> going.
>
> After a bit of poking around I found that:
>
> if [ ! -z "$MODULE" ]
>
> Will always be true for me as MODULE always has a value in it
> and so modprobe keeps getting run.
> I altered line to be:
>
> if [ ! -z "$MODULE" ] && [ ! $(/sbin/lsmod | grep -Eo "$MODULE") ]
>
> Which seems to work :)
>
> I would like feedback on whether thsi is reasonable and thought if
> it works well maybe it could make an update??
>
> Craig
That's not a bad enhancement, if there aren't any nays, I'll put that into
the networking[.sh] script and update the version.
-sandalle
--
PGP Key Fingerprint: FCFF 26A1 BE21 08F4 BB91 FAED 1D7B 7D74 A8EF DD61
http://search.keyserver.net:11371/pks/lookup?op=get&search=0xA8EFDD61
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/E/IT$ d-- s++:+>: a-- C++(+++) BL++++VIS>$ P+(++) L+++ E-(---) W++ N+@ o?
K? w++++>-- O M-@ V-- PS+(+++) PE(-) Y++(+) PGP++(+) t+() 5++ X(+) R+(++)
tv(--)b++(+++) DI+@ D++(+++) G>+++ e>+++ h---(++) r++ y+
------END GEEK CODE BLOCK------
Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us | http://www.sourcemage.org/
http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/ #196285 | http://www.shock.wsu.edu/
-
[SM-Grimoire] network.sh,
Craig Dyke, 07/23/2003
- Re: [SM-Grimoire] network.sh, Eric Sandall, 07/23/2003
- Re: [SM-Grimoire] network.sh, Sergey A. Lipnevich, 07/23/2003
- Re: [SM-Grimoire] network.sh, Eric Sandall, 07/23/2003
Archive powered by MHonArc 2.6.24.