Merge pull request #6367 from knixeur/fix-host-slackware

Fix Slackware Host detection and nfsd checks
This commit is contained in:
Mitchell Hashimoto 2015-11-18 14:02:06 -08:00
commit fe36131549
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ module VagrantPlugins
module Cap
class NFS
def self.nfs_check_command(env)
"pidof nfsd >/dev/null"
"/sbin/pidof nfsd >/dev/null"
end
def self.nfs_start_command(env)

View File

@ -4,7 +4,7 @@ module VagrantPlugins
module HostSlackware
class Host < Vagrant.plugin("2", :host)
def detect?(env)
return File.exists?("/etc/slackware-release") ||
return File.exists?("/etc/slackware-version") ||
!Dir.glob("/usr/lib/setup/Plamo-*").empty?
end
end