mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 23:47:49 +00:00
netmount: dont exit our init if mount fails
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
8ba1d250ac
commit
318f170f67
@ -40,10 +40,10 @@ IFS="
|
|||||||
mkdir -p $MOUNTPOINT
|
mkdir -p $MOUNTPOINT
|
||||||
case "$SERVICE" in
|
case "$SERVICE" in
|
||||||
cifs|smb|samba)
|
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)
|
nfs)
|
||||||
mount.nfs "$SHARE" "$MOUNTPOINT" > /dev/null 2>&1
|
mount.nfs "$SHARE" "$MOUNTPOINT" > /dev/null 2>&1 || true
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user