Guillermo Bonvehí 07e38f1bb3 Fix Slackware Host detection and nfsd checks
Slackware's version file is /etc/slackware-version not
/etc/slackware-release.
pidof is not on PATH by default (not running as root) so call it using
full path
2015-10-07 01:17:07 -03:00

16 lines
285 B
Ruby

module VagrantPlugins
module HostSlackware
module Cap
class NFS
def self.nfs_check_command(env)
"/sbin/pidof nfsd >/dev/null"
end
def self.nfs_start_command(env)
"/etc/rc.d/rc.nfsd start"
end
end
end
end
end