Class: Specinfra::Command::Solaris::Base::KernelModule
- Inherits:
-
Base::KernelModule
- Object
- Base
- Base::KernelModule
- Specinfra::Command::Solaris::Base::KernelModule
- Defined in:
- lib/specinfra/command/solaris/base/kernel_module.rb
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.check_is_loaded(name) ⇒ Object
3 4 5 |
# File 'lib/specinfra/command/solaris/base/kernel_module.rb', line 3 def check_is_loaded(name) "modinfo -c | awk '$3 == \"#{escape(name)}\" { print $4 }' | grep ^LOADED" end |