netmount: mount in background

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-01-27 22:51:46 +01:00
parent a226307df4
commit 664fb5597a

View File

@ -39,10 +39,10 @@ IFS="
mkdir -p $MOUNTPOINT
case "$SERVICE" in
cifs)
mount.cifs "$SHARE" "$MOUNTPOINT" -o "$OPTIONS" > /dev/null 2>&1
mount.cifs "$SHARE" "$MOUNTPOINT" -o "$OPTIONS" > /dev/null 2>&1 &
;;
nfs)
mount.nfs "$SHARE" "$MOUNTPOINT" > /dev/null 2>&1
mount.nfs "$SHARE" "$MOUNTPOINT" > /dev/null 2>&1 &
;;
esac
done