mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-28 16:14:20 +08:00
[dfs] enable procfs and tempfs in default when using smart; fix LWIP_ROUTE warning issue.
This commit is contained in:
@@ -158,6 +158,11 @@ static int fstab_mnt_init(void)
|
||||
msh_exec_script("fstab.sh", 16);
|
||||
#endif
|
||||
|
||||
#ifdef RT_USING_DFS_PROCFS
|
||||
mkdir("/proc", 0755);
|
||||
dfs_mount(RT_NULL, "/proc", "procfs", 0, RT_NULL);
|
||||
#endif
|
||||
|
||||
LOG_I("File system initialization done");
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user