mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27: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
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user