class Specinfra::Command::Openbsd::Base::Fstab
Public Class Methods
check_has_entry(mount_point)
click to toggle source
# File lib/specinfra/command/openbsd/base/fstab.rb, line 3 def check_has_entry(mount_point) %Q(awk '{if($2=="#{escape(mount_point)}")print}' /etc/fstab | grep -v '^[[:space:]]*#') end
Also aliased as: get_entry