add support for mounting from /data/etc/fstab.user

This commit is contained in:
Calin Crisan 2017-06-03 21:23:40 +03:00
parent 9278ca2925
commit e77e1eb17e

View File

@ -4,8 +4,10 @@ test -n "$os_version" || source /etc/init.d/base
mount_fs() {
msg_begin "Mounting filesystems"
/bin/mount -T /etc/fstab.disk -a
/bin/mount -T /etc/fstab.extra -a
/bin/mount -T /etc/fstab.disk -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
}