summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-12-17 13:07:19 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-12-17 13:07:19 (EST)
commitb77740d94dafb6e15fc2d58f2c2f3c13bbb6e2c8 (patch)
tree2990daecd76007b26548869c06355023390bf855
parentc354d4090d89f6f10a68dc2453f5adc662daaf54 (diff)
/etc/init.d/mdev: Remove device nodes
Committing a change that actually went into the previous release.
-rwxr-xr-xsrc.etc/init.d/mdev1
1 files changed, 1 insertions, 0 deletions
diff --git a/src.etc/init.d/mdev b/src.etc/init.d/mdev
index 81d004a..03315f7 100755
--- a/src.etc/init.d/mdev
+++ b/src.etc/init.d/mdev
@@ -20,6 +20,7 @@ stop()
printf '\n' >/proc/sys/kernel/hotplug
fi
if [ -e /dev/null ]; then
+ rm -Rf /dev/*
umount /dev || return ${?}
fi
}