aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/etc/rc.local5
1 files changed, 5 insertions, 0 deletions
diff --git a/files/etc/rc.local b/files/etc/rc.local
index 504274e..13987bc 100644
--- a/files/etc/rc.local
+++ b/files/etc/rc.local
@@ -21,5 +21,10 @@ rm -f /var/lib/puppet/state/puppetdlock
/etc/init.d/puppet stop
/etc/init.d/puppet start
+# Keep this mountpoint while ekeyd fact needs it
+if [ -d "/proc/bus/usb" ]; then
+ /bin/mount -t usbfs usbfs /proc/bus/usb -onodev,noexec,nosuid
+fi
+
# Then exit
exit 0