mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
OpenSwan RC nach den Vorgaben von "affect" installiert.
Zurueck zu ReiserFS, da wir mit Reiser4 noch ein paar Probleme haben und wir die Prioritaeten noch auf andere Sachen legen muessen. :'( git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@445 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -557,9 +557,9 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
if (raid_disk)
|
||||
snprintf(commandstring, STRING_SIZE, "/sbin/mkfs.reiser4 -y %sp3", hdparams.devnode);
|
||||
snprintf(commandstring, STRING_SIZE, "/sbin/mkreiserfs -f %sp3", hdparams.devnode);
|
||||
else
|
||||
snprintf(commandstring, STRING_SIZE, "/sbin/mkfs.reiser4 -y %s3", hdparams.devnode);
|
||||
snprintf(commandstring, STRING_SIZE, "/sbin/mkreiserfs -f %s3", hdparams.devnode);
|
||||
|
||||
if (runcommandwithstatus(commandstring, ctr[TR_MAKING_ROOT_FILESYSTEM]))
|
||||
{
|
||||
@@ -568,9 +568,9 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
if (raid_disk)
|
||||
snprintf(commandstring, STRING_SIZE, "/sbin/mkfs.reiser4 -y %sp4", hdparams.devnode);
|
||||
snprintf(commandstring, STRING_SIZE, "/sbin/mkreiserfs -f %sp4", hdparams.devnode);
|
||||
else
|
||||
snprintf(commandstring, STRING_SIZE, "/sbin/mkfs.reiser4 -y %s4", hdparams.devnode);
|
||||
snprintf(commandstring, STRING_SIZE, "/sbin/mkreiserfs -f %s4", hdparams.devnode);
|
||||
|
||||
if (runcommandwithstatus(commandstring, ctr[TR_MAKING_LOG_FILESYSTEM]))
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ echo "Probing for SCSI controllers"
|
||||
MODULE=`/bin/kudzu -qps -t 30 -c SCSI | grep driver | cut -d ' ' -f 2 | sort | uniq`
|
||||
|
||||
if [ "$MODULE" ]; then
|
||||
echo $MODULE > /cntrldriver
|
||||
echo $MODULE > /tmp/cntrldriver
|
||||
echo "Your controller is: $MODULE"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
@@ -3,16 +3,16 @@
|
||||
MODULES=$(/bin/kudzu -qps -t 30 -c NETWORK | grep driver | cut -d ' ' -f 2 | sort)
|
||||
|
||||
if [ "$1" == "count" ]; then
|
||||
/bin/kudzu -qps -t 30 -c NETWORK | grep driver | wc -l | awk '{ print $1 }' > /drivercount
|
||||
/bin/kudzu -qps -t 30 -c NETWORK | grep driver | wc -l | awk '{ print $1 }' > /tmp/drivercount
|
||||
exit 0
|
||||
else
|
||||
NUMBER=$1
|
||||
fi
|
||||
|
||||
if [ "$NUMBER" ]; then
|
||||
echo "$(echo $MODULES | grep -n $NUMBER | cut -c 1-2 )" > /nicdriver
|
||||
echo "$(echo $MODULES | grep -n $NUMBER | cut -c 1-2 )" > /tmp/nicdriver
|
||||
else
|
||||
echo "$MODULES" > /nicdriver
|
||||
echo "$MODULES" > /tmp/nicdriver
|
||||
fi
|
||||
|
||||
# kudzu -qps -c NETWORK | egrep "desc|network.hwaddr|driver" | awk -F': ' '{print $2}' | sed -e '/..:..:..:..:..:../a\\' -e "s/$/\;/g" | tr "\n" "XX" | sed -e "s/XX/\n/g" -e "s/\;X/\;/g"
|
||||
|
||||
Reference in New Issue
Block a user