Lines Matching refs:fqp
73 fqp="/etc/rc.d/${_name}"
74 if [ -x "${fqp}" ]; then
77 usage "${fqp} does not exist"
88 fqp="/etc/rc.d/${_name}"
89 if ! grep -s '. /etc/rc.subr' ${fqp} > /dev/null 2>&1; then
90 usage "${fqp} does not appear to be a NetBSD rc script"
92 elif ! grep -s '# KEYWORD:' ${fqp} > /dev/null 2>&1; then
94 usage "${fqp} doesn't contain a KEYWORD directive. Use -f"
99 is_chkconfig=`grep -s '# KEYWORD:' ${fqp}|grep -s ${KEYWORD}`
104 usage "${fqp} not under chkconfig control. Use -f"
120 fqp="/etc/rc.d/${_name}"
122 usage "${fqp} is already managed by chkconfig."
124 echo '# KEYWORD: chkconfig' >> ${fqp}