diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-02-23 15:00:34 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-02-23 15:00:34 -0300 |
commit | bf2cb9f722855ec3353e3170fba03488d5009818 (patch) | |
tree | 358c8865132c0dc8d8bba1930101fa395ff1fe99 /files/etc/rc.local | |
parent | 95ff390948f7fb61616815da0020b86f2f4f4b0a (diff) | |
download | puppet-nodo-bf2cb9f722855ec3353e3170fba03488d5009818.tar.gz puppet-nodo-bf2cb9f722855ec3353e3170fba03488d5009818.tar.bz2 |
Keep /proc/bus/usb mounted for ekeyd
Diffstat (limited to 'files/etc/rc.local')
-rw-r--r-- | files/etc/rc.local | 5 |
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 |