From bf2cb9f722855ec3353e3170fba03488d5009818 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 23 Feb 2011 15:00:34 -0300 Subject: Keep /proc/bus/usb mounted for ekeyd --- files/etc/rc.local | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'files') 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 -- cgit v1.2.3