diff -r 000000000000 -r 60bc07f3f415 usr/share/usbmount/usbmount --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/usr/share/usbmount/usbmount Thu Feb 27 17:12:59 2014 +0100 @@ -0,0 +1,16 @@ +#!/bin/sh + +# run usbmount asyncron from udev +# wait in the subshell until the network comes up and then start the rest +( + +if [ "$1" != "remove" ] +then + while [ -z "$(ifconfig eth0 | grep "inet addr:")" ] + do + sleep 0.5 + done +fi + +/usr/share/usbmount/async_usbmount $1 +) &