[dfs] enable procfs and tempfs in default when using smart; fix LWIP_ROUTE warning issue.

This commit is contained in:
Bernard Xiong
2025-05-20 17:27:55 +08:00
committed by GitHub
parent e9f6992fa1
commit d1628a1cf3
4 changed files with 11 additions and 2 deletions
+5
View File
@@ -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;