summaryrefslogtreecommitdiffstats
path: root/sbin/init.d/functions
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/init.d/functions')
-rwxr-xr-xsbin/init.d/functions3
1 files changed, 3 insertions, 0 deletions
diff --git a/sbin/init.d/functions b/sbin/init.d/functions
index bad32fc..cc4058e 100755
--- a/sbin/init.d/functions
+++ b/sbin/init.d/functions
@@ -223,6 +223,9 @@ function recursive_rmmod {
elif [ -z "${args[3]}" ]; then
# use count >0, but nothing to unload
return 1
+ elif [ "${args[3]}" = "(autoclean)" ]; then
+ # use count >0, but nothing to unload
+ return 1
else
mod=3
while [ $mod -lt ${#args[@]} ]; do