mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 14:46:31 +00:00
add support for mounting from /data/etc/fstab.user
This commit is contained in:
parent
9278ca2925
commit
e77e1eb17e
@ -4,8 +4,10 @@ test -n "$os_version" || source /etc/init.d/base
|
|||||||
|
|
||||||
mount_fs() {
|
mount_fs() {
|
||||||
msg_begin "Mounting filesystems"
|
msg_begin "Mounting filesystems"
|
||||||
/bin/mount -T /etc/fstab.disk -a
|
/bin/mount -T /etc/fstab.disk -a &&
|
||||||
/bin/mount -T /etc/fstab.extra -a
|
/bin/mount -T /etc/fstab.extra -a &&
|
||||||
|
if [ -r /data/etc/fstab.user ]; then /bin/mount -T /data/etc/fstab.user -a; fi
|
||||||
|
|
||||||
test $? == 0 && msg_done || msg_fail
|
test $? == 0 && msg_done || msg_fail
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user