rc.subr (288291) | rc.subr (290007) |
---|---|
1# $NetBSD: rc.subr,v 1.67 2006/10/07 11:25:15 elad Exp $ | 1# $NetBSD: rc.subr,v 1.67 2006/10/07 11:25:15 elad Exp $ |
2# $FreeBSD: head/etc/rc.subr 288291 2015-09-27 04:03:11Z adrian $ | 2# $FreeBSD: head/etc/rc.subr 290007 2015-10-26 15:14:55Z des $ |
3# 4# Copyright (c) 1997-2004 The NetBSD Foundation, Inc. 5# All rights reserved. 6# 7# This code is derived from software contributed to The NetBSD Foundation 8# by Luke Mewburn. 9# 10# Redistribution and use in source and binary forms, with or without --- 1300 unchanged lines hidden (view full) --- 1311 set $_arg; . $_file ) 1312 fi 1313 fi 1314 ;; 1315 esac 1316} 1317 1318# | 3# 4# Copyright (c) 1997-2004 The NetBSD Foundation, Inc. 5# All rights reserved. 6# 7# This code is derived from software contributed to The NetBSD Foundation 8# by Luke Mewburn. 9# 10# Redistribution and use in source and binary forms, with or without --- 1300 unchanged lines hidden (view full) --- 1311 set $_arg; . $_file ) 1312 fi 1313 fi 1314 ;; 1315 esac 1316} 1317 1318# |
1319# load_rc_config name 1320# Source in the configuration file for a given name. | 1319# load_rc_config [service] 1320# Source in the configuration file(s) for a given service. 1321# If no service is specified, only the global configuration 1322# file(s) will be loaded. |
1321# 1322load_rc_config() 1323{ 1324 local _name _rcvar_val _var _defval _v _msg _new _d 1325 _name=$1 1326 1327 if ${_rc_conf_loaded:-false}; then 1328 : --- 770 unchanged lines hidden --- | 1323# 1324load_rc_config() 1325{ 1326 local _name _rcvar_val _var _defval _v _msg _new _d 1327 _name=$1 1328 1329 if ${_rc_conf_loaded:-false}; then 1330 : --- 770 unchanged lines hidden --- |