summaryrefslogtreecommitdiffstats
path: root/target/device/valka/target_skeleton/etc/rc.d/02.localfs
blob: 2614d020f963e0bc5865312747860cf90da785c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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"