diff options
Diffstat (limited to 'target/device/valka/target_skeleton/etc/rc.d/02.localfs')
-rwxr-xr-x | target/device/valka/target_skeleton/etc/rc.d/02.localfs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/target/device/valka/target_skeleton/etc/rc.d/02.localfs b/target/device/valka/target_skeleton/etc/rc.d/02.localfs new file mode 100755 index 000000000..2614d020f --- /dev/null +++ b/target/device/valka/target_skeleton/etc/rc.d/02.localfs @@ -0,0 +1,22 @@ +#!/bin/ash +. /etc/rc.subr + +start() { + echo -n " * Mounting local filesystems: " + if ${mount_program} -a; then + echo "Ok" + else + echo "Failed" + fi +} + +stop() { + echo -n " * Unmounting local filesystems: " + if ${umount_program} -a 2>/dev/null; then + echo "Ok" + else + echo "Failed" + fi +} + +rc_run_command "$1" |