asuswrt-merlin.ng/release/src-rt-5.02axhnd.675x/router-sysdep.rt-ax58u/scripts/fsys/rw-rootfs.sh
Eric Sauvageau faefc269c3 SDK-6750: move RT-AX58U router-sysdep to model-specific folder, and copy appropriate model content to router-sysdep at build time
Symlinking doesn't work due to some shell tricks used in Makefiles
to extract info out of the current work directory.
2020-08-29 00:34:09 -04:00

6 lines
182 B
Bash
Executable file

#!/bin/sh
if grep -q rootfs_ubifs /proc/mtd ; # grab line with "rootfs_ubifs"
then # UBIFS partition "rootfs_ubifs" was found
mount -t ubifs ubi:rootfs_ubifs / -o remount,rw ;
fi;