diff options
author | obrien <obrien@FreeBSD.org> | 2001-06-16 07:16:14 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-06-16 07:16:14 +0000 |
commit | 4d3fc79b76a16eb2429bcf457e7e24c622d434c1 (patch) | |
tree | f00a2c0b9e162a285644e0023cae67fc346bb743 /etc/rc.d | |
parent | b02e9205fce457aae0bd2aef07507218c80b4429 (diff) | |
download | FreeBSD-src-4d3fc79b76a16eb2429bcf457e7e24c622d434c1.zip FreeBSD-src-4d3fc79b76a16eb2429bcf457e7e24c622d434c1.tar.gz |
Import the NetBSD 1.5 RC system.
Note that `rc' and `rc.shutdown' could not be imported because we already
have files with those names.
Diffstat (limited to 'etc/rc.d')
-rw-r--r-- | etc/rc.d/lockd | 27 | ||||
-rw-r--r-- | etc/rc.d/statd | 27 |
2 files changed, 54 insertions, 0 deletions
diff --git a/etc/rc.d/lockd b/etc/rc.d/lockd new file mode 100644 index 0000000..bddec82 --- /dev/null +++ b/etc/rc.d/lockd @@ -0,0 +1,27 @@ +#!/bin/sh +# +# $NetBSD: nfslocking,v 1.3 2000/05/13 08:45:07 lukem Exp $ +# + +# PROVIDE: nfslocking +# REQUIRE: nfsd + +. /etc/rc.subr + +arg=$1 + +start_precmd='checkyesno nfs_server || checkyesno nfs_client' +stop_precmd=$start_precmd +status_precmd=$start_precmd + +name="statd" +rcvar=$name +command="/usr/sbin/rpc.${name}" +load_rc_config $name +run_rc_command "$arg" + +name="lockd" +rcvar=$name +command="/usr/sbin/rpc.${name}" +load_rc_config $name +run_rc_command "$arg" diff --git a/etc/rc.d/statd b/etc/rc.d/statd new file mode 100644 index 0000000..bddec82 --- /dev/null +++ b/etc/rc.d/statd @@ -0,0 +1,27 @@ +#!/bin/sh +# +# $NetBSD: nfslocking,v 1.3 2000/05/13 08:45:07 lukem Exp $ +# + +# PROVIDE: nfslocking +# REQUIRE: nfsd + +. /etc/rc.subr + +arg=$1 + +start_precmd='checkyesno nfs_server || checkyesno nfs_client' +stop_precmd=$start_precmd +status_precmd=$start_precmd + +name="statd" +rcvar=$name +command="/usr/sbin/rpc.${name}" +load_rc_config $name +run_rc_command "$arg" + +name="lockd" +rcvar=$name +command="/usr/sbin/rpc.${name}" +load_rc_config $name +run_rc_command "$arg" |