PXE Boot integriert.
[people/pmueller/ipfire-2.x.git] / src / install+setup / install / probenic.sh
CommitLineData
9607771a
MT
1#!/bin/sh
2
3NUMBER=$1
4MODULES=`/bin/kudzu -qps -t 30 -c NETWORK | grep driver | cut -d ' ' -f 2 | sort | uniq`
5
6if [ "$NUMBER" ]; then
7 NICS=`echo $MODULES | head -$NUMBER`
8else
9 NICS=$MODULES
10fi
11
12echo "$NICS" > /nicdriver