mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
don't try to automount loopback devices (#1011)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5877 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -13,7 +13,7 @@ add)
|
||||
}; done
|
||||
echo
|
||||
|
||||
[ ${DEV%%[0-9]} != ${DEV} ] && {
|
||||
[ ${DEV%%[0-9]} != ${DEV} -a ${DEV%%[0-9]} != "loop" ] && {
|
||||
mkdir -p /tmp/$DEV
|
||||
mount /dev/$DEV /tmp/$DEV -t auto -o sync
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user