aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-02-23 15:00:34 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-02-23 15:00:34 -0300
commitbf2cb9f722855ec3353e3170fba03488d5009818 (patch)
tree358c8865132c0dc8d8bba1930101fa395ff1fe99 /files
parent95ff390948f7fb61616815da0020b86f2f4f4b0a (diff)
downloadpuppet-nodo-bf2cb9f722855ec3353e3170fba03488d5009818.tar.gz
puppet-nodo-bf2cb9f722855ec3353e3170fba03488d5009818.tar.bz2
Keep /proc/bus/usb mounted for ekeyd
Diffstat (limited to 'files')
-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