summaryrefslogtreecommitdiff
path: root/lib/facter/ekeyd.rb
blob: 5a4417cd6e9914a1587b66739e58f43367f9724e (plain)
1
2
3
4
5
6
Facter.add('ekeyd_key_present') do
  confine :kernel => %w{Linux}
  setcode do
    !`lsusb | grep "Entropy Key"`.empty?
  end
end