From ceaf9e8217f29f6c499d03c62612b2eb50e8ed09 Mon Sep 17 00:00:00 2001 From: John Voltz Date: Thu, 6 Mar 2008 18:59:14 +0000 Subject: updates and additions for avr32 arch --- .../valka/target_skeleton/etc/rc.d/02.localfs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 target/device/valka/target_skeleton/etc/rc.d/02.localfs (limited to 'target/device/valka/target_skeleton/etc/rc.d/02.localfs') 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" -- cgit v1.2.3