2 # Copyright (C) 2006 OpenWrt.org
6 echo "ACTION=$ACTION DEVPATH=$DEVPATH $0 $*"
9 echo -ne "waiting for $DEV"
10 while [ ! -b /dev
/$DEV ]; do {
13 time=$
((time+1)); [ $time -gt 10 ] && break
16 [ ${DEV%%[0-9]} != ${DEV} ] && {
18 mount
/dev
/$DEV /tmp
/$DEV -t auto
-o sync
22 umount
/tmp
/$DEV && rmdir /tmp
/$DEV
23 rm -f /dev
/$DEV /tmp
/$DEV
This page took 0.049782 seconds and 5 git commands to generate.