How to mount NFS automatic?

73 views
Skip to first unread message

Dr. Lawrence

unread,
Dec 11, 2019, 9:09:54 PM12/11/19
to Android-x86
Dears, 

In Android x86 8.1.
I can mount a NFS by manual with the command "busybox mount -t nfs -o nolock,rw 172.16.2.4:/nfs_folder /data/media/0/nfs".
But how can Android mount the NFS device automatically after boot complete?

many thanks.

Chih-Wei Huang

unread,
Dec 11, 2019, 9:18:54 PM12/11/19
to Android-x86
Dr. Lawrence <these...@gmail.com> 於 2019年12月12日 週四 上午10:10寫道:
How about adding this line to /etc/init.sh?
You may add it to function do_bootcomplete().

--
Chih-Wei
Android-x86 project
http://www.android-x86.org
Reply all
Reply to author
Forward
0 new messages