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
16 lines
285 B
Ruby
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
|