06-16-2019, 10:30 PM
Yes, /mnt/NAS and /mnt/SDCARD are created during the build of the image and are meant to be permanent dirs.
The code that touches the /mntNAS dir is like below. Its to either add or delete the mount point dir
mkdir /mnt/NAS/mount_point
rmdir /mnt/NAS/mount_point
Obviously if mount_point is blank then the NAS dir gets deleted, but in the NAS Config form the Name field which corresponds to mount_point does not allow a blank entry.
-Tim
The code that touches the /mntNAS dir is like below. Its to either add or delete the mount point dir
mkdir /mnt/NAS/mount_point
rmdir /mnt/NAS/mount_point
Obviously if mount_point is blank then the NAS dir gets deleted, but in the NAS Config form the Name field which corresponds to mount_point does not allow a blank entry.
-Tim