From: Silvio Rhatto Date: Wed, 23 Feb 2011 18:00:34 +0000 (-0300) Subject: Keep /proc/bus/usb mounted for ekeyd X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=bf2cb9f722855ec3353e3170fba03488d5009818;p=puppet-nodo.git Keep /proc/bus/usb mounted for ekeyd --- 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