netmount: dont exit our init if mount fails

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-01-25 01:12:56 +01:00
parent 8ba1d250ac
commit 318f170f67

View File

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