amd (172822) | amd (172977) |
---|---|
1#!/bin/sh 2# 3# $NetBSD: amd,v 1.10 2002/04/29 12:08:17 lukem Exp $ | 1#!/bin/sh 2# 3# $NetBSD: amd,v 1.10 2002/04/29 12:08:17 lukem Exp $ |
4# $FreeBSD: head/etc/rc.d/amd 172822 2007-10-19 22:55:42Z mtm $ | 4# $FreeBSD: head/etc/rc.d/amd 172977 2007-10-25 16:59:06Z mtm $ |
5# 6 7# PROVIDE: amd 8# REQUIRE: rpcbind ypbind nfsclient cleanvar ldconfig 9# BEFORE: DAEMON 10# KEYWORD: nojail 11 12. /etc/rc.subr --- 29 unchanged lines hidden (view full) --- 42 '') 43 if [ ! -r /etc/amd.conf ]; then 44 warn 'amd will not load without arguments' 45 return 1 46 fi 47 ;; 48 *) 49 rc_flags="-p ${rc_flags}" | 5# 6 7# PROVIDE: amd 8# REQUIRE: rpcbind ypbind nfsclient cleanvar ldconfig 9# BEFORE: DAEMON 10# KEYWORD: nojail 11 12. /etc/rc.subr --- 29 unchanged lines hidden (view full) --- 42 '') 43 if [ ! -r /etc/amd.conf ]; then 44 warn 'amd will not load without arguments' 45 return 1 46 fi 47 ;; 48 *) 49 rc_flags="-p ${rc_flags}" |
50 command_args=" > /var/run/amd.pid 2> /dev/null" | 50 command_args="> /var/run/amd.pid 2> /dev/null" |
51 ;; 52 esac 53 return 0 54} 55 56load_rc_config $name 57run_rc_command "$1" | 51 ;; 52 esac 53 return 0 54} 55 56load_rc_config $name 57run_rc_command "$1" |