aboutsummaryrefslogtreecommitdiff
path: root/target/device/KwikByte/kb9202/target_skeleton/sbin/automount.script
diff options
context:
space:
mode:
Diffstat (limited to 'target/device/KwikByte/kb9202/target_skeleton/sbin/automount.script')
-rwxr-xr-xtarget/device/KwikByte/kb9202/target_skeleton/sbin/automount.script21
1 files changed, 0 insertions, 21 deletions
diff --git a/target/device/KwikByte/kb9202/target_skeleton/sbin/automount.script b/target/device/KwikByte/kb9202/target_skeleton/sbin/automount.script
deleted file mode 100755
index facce60732..0000000000
--- a/target/device/KwikByte/kb9202/target_skeleton/sbin/automount.script
+++ /dev/null
@@ -1,21 +0,0 @@
-#! /bin/sh
-
-if [ x$ACTION = "x" ] ; then
- echo "$0: should be called by mdev"
- exit -1
-fi
-
-if [ $ACTION = "remove" ] ; then
- umount -f /dev/$MDEV
- rmdir /disk/$MDEV
- exit 0
-fi
-
-if [ $ACTION = "add" ] ; then
- mkdir -p /disk/$MDEV
- mount -o sync /dev/$MDEV /disk/$MDEV
- exit 0
-fi
-
-echo "$0: $ACTION=ACTION not recognized" > /dev/console
-env > /dev/console