# We do not want to rm -r populated directories
if test "`find "$1" | wc -l | tr -d " "`" -lt 2 -a -d "$1"
then
- ! test -z "$1" && rm -r "$1"
+ ! test -z "$1" && rmdir "$1"
else
logger "mount.sh/automount" "Not removing non-empty directory [$1]"
fi
# We do not want to rm -r populated directories
if test "`find "$1" | wc -l | tr -d " "`" -lt 2 -a -d "$1"
then
- ! test -z "$1" && rm -r "$1"
+ ! test -z "$1" && rmdir "$1"
else
logger "mount.sh/automount" "Not removing non-empty directory [$1]"
fi
the hotplug package and requires a kernel not older than 2.6.12."
LICENSE = "GPLv2+"
-PR = "r17"
+PR = "r18"
# Untested
DEFAULT_PREFERENCE = "-1"