(no commit message)
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 10 Feb 2010 15:31:37 +0000 (15:31 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 10 Feb 2010 15:31:37 +0000 (15:31 +0000)
system/template-qemu/qemu-bridge-init
system/template-qemu/qemu-start-node

index a3e89b4..38de588 100755 (executable)
@@ -58,9 +58,9 @@ start () {
     echo "Starting udev ..."
     /sbin/udevd restart
     if modprobe kqemu &> /dev/null ; then
-       echo "kqemu loadded"
+       echo "(bridge-init) kqemu loaded"
     else
-       echo "WARNING : Could not modprobe kqemu"
+       echo "(bridge-init) WARNING : Could not modprobe kqemu"
     fi
     #Loading the tun/tap model
     if modprobe tun ; then
index 384f46c..cc0ea2a 100755 (executable)
@@ -59,7 +59,11 @@ else
 fi
 
 echo 'Trying to load the kqemu module'
-modprobe kqemu
+if modprobe kqemu &> /dev/null ; then
+    echo "kqemu loaded"
+else
+    echo "WARNING : Could not modprobe kqemu"
+fi
 
 echo 'Checking for a loaded kqemu module'
 lsmod | grep kqemu