Closed GoogleCodeExporter closed 9 years ago
I understand where is a problem with VPN.
I don't save the /etc/storage filesystems.
Can someone explain me how do i configure nfsd, becouse when router restarts
/etx/exports is owerwited also.
Original comment by sk...@ukrgadget.com
on 18 Sep 2014 at 2:43
As for me, I don't recommend you to do the following. If these devices are on
the same network, then there is no reason to encrypt traffic. If they are on
different networks - it is bad idea to export it at all.
create /etc/storage/exports
add to /etc/storage/started_script.sh:
# ---
if [ -f /etc/storage/exports ] && [ -f /etc/exports ] ; then
mount -o bind /etc/storage/exports /etc/exports
/usr/bin/nfsd.sh reload
fi
# ---
Run:
# mtd_storage.sh save
Note: export file (/etc/storage/exports) can still be rewritten if disk is
remounted due to some fault in runtime.
Original comment by d...@soulblader.com
on 18 Sep 2014 at 8:58
Original issue reported on code.google.com by
sk...@ukrgadget.com
on 18 Sep 2014 at 2:29