From 1e562ddf2d651d3dc3f4df98f8d70771e81b6a08 Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Tue, 24 May 2011 17:51:59 +0200 Subject: [PATCH] fixed up/down scripts --- src/down.sh | 13 +++---------- src/up.sh | 4 ++-- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/src/down.sh b/src/down.sh index be11e78..cfd84c8 100755 --- a/src/down.sh +++ b/src/down.sh @@ -1,9 +1,6 @@ #!/bin/sh -sleep 1 - #rmmod testskb - #../usr/fbctl unbind fb1 fb2 #../usr/fbctl unbind fb2 fb3 ../usr/fbctl unbind fb3 fb2 @@ -11,17 +8,13 @@ sleep 1 ../usr/fbctl rm fb3 ../usr/fbctl rm fb2 ../usr/fbctl rm fb1 - -echo "-1" > /proc/net/lana/ppesched - +#echo "-1" > /proc/net/lana/ppesched sleep 1 - rmmod fb_dummy rmmod fb_eth - sleep 1 - -rmmod sd_rr +# +#rmmod sd_rr rmmod lana echo "down" diff --git a/src/up.sh b/src/up.sh index 5014d51..dbd03d6 100755 --- a/src/up.sh +++ b/src/up.sh @@ -2,10 +2,10 @@ insmod lana.ko -sleep 5 +#sleep 5 echo "starting" -insmod sd_rr.ko +#insmod sd_rr.ko #echo "1" > /proc/net/lana/sched/sched_cpu insmod fb_eth.ko insmod fb_dummy.ko -- 2.11.4.GIT