Class: Specinfra::Command::Linux::Base::KernelModule

Inherits:
Base::KernelModule show all
Defined in:
lib/specinfra/command/linux/base/kernel_module.rb

Class Method Summary collapse

Methods inherited from Base

create, escape

Class Method Details

.check_is_loaded(name) ⇒ Object



3
4
5
# File 'lib/specinfra/command/linux/base/kernel_module.rb', line 3

def check_is_loaded(name)
  "lsmod | grep ^#{name}"
end