2 # Copyright (C) 2006 OpenWrt.org
7 [ -f /tmp
/.
${dev}_id
] ||
{
8 echo ${INTERFACE}${PRODUCT} > /tmp/.${dev}_id
9 mount |
grep /mnt
/${dev} ||
(
16 path
=/mnt
/${dev}_
${part##*part}
26 for tmp
in /tmp
/.
*_id
; do
28 [ "${INTERFACE}${PRODUCT}" = "$id" ] && {
32 for disc
in /mnt
/disc
${disc}*; do
33 umount
-f $disc || umount
-l $disc
39 [ -f /proc
/bus
/usb
/devices
] || mount
-t usbfs none
/proc
/bus
/usb
43 case "${INTERFACE%%/*}" in
48 case "${INTERFACE%%/*}" in
This page took 0.050794 seconds and 5 git commands to generate.