On Sun, Sep 07, 2008 at 03:21:11PM +0200, Paul de Weerd wrote:
| I think the following diff fixes this issue (not tested) :
The most trivial diff and I still manage to fuck up and send only half
the diff. Apologies.
Index: distrib/miniroot/install.sub
===================================================================
RCS file: /cvs/src/distrib/miniroot/install.sub,v
retrieving revision 1.436
diff -u -r1.436 install.sub
--- distrib/miniroot/install.sub 7 Jul 2008 15:53:15 -0000 1.436
+++ distrib/miniroot/install.sub 7 Sep 2008 13:42:38 -0000
@@ -556,11 +556,11 @@
_name=$resp
# Get and apply media options.
- _media=$(ifconfig -m $_ifs | grep "media ")
+ _media=$(ifconfig $_ifs media | grep "media ")
if [[ -n $_media ]]; then
cat <<__EOT
The media options for $_ifs are currently
-$(ifconfig -m $_ifs | sed -n '/supported/D;/media:/p')
+$(ifconfig $_ifs media | sed -n '/supported/D;/media:/p')
__EOT
ask_yn "Do you want to change the media options?"
case $resp in
--
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
http://www.weirdnet.nl/