Sha256: c90050187f8067294640075f755e436bea684e52a36f0d1c3e250c9b98ad4b36

Contents?: true

Size: 240 Bytes

Versions: 125

Compression:

Stored size: 240 Bytes

Contents

class Specinfra::Command::Solaris::Base::KernelModule < Specinfra::Command::Base::KernelModule
  class << self
    def check_is_loaded(name)
      "modinfo -c | awk '$3 == \"#{escape(name)}\" { print $4 }' | grep ^LOADED"
    end
  end
end

Version data entries

125 entries across 125 versions & 1 rubygems

Version Path
specinfra-2.66.6 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.66.5 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.66.4 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.66.3 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.66.2 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.66.1 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.66.0 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.65.0 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.64.0 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.63.3 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.63.2 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.63.1 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.63.0 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.62.0 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.61.3 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.61.2 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.61.1 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.61.0 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.60.4 lib/specinfra/command/solaris/base/kernel_module.rb
specinfra-2.60.3 lib/specinfra/command/solaris/base/kernel_module.rb