rc.subr (272974) | rc.subr (272976) |
---|---|
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 272974 2014-10-11 23:49:27Z hrs $ | 2# $FreeBSD: head/etc/rc.subr 272976 2014-10-12 02:42:36Z hrs $ |
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 --- 2034 unchanged lines hidden (view full) --- 2045 eval _rc_cache_kern_features_$1=1 2046 return 1 2047 fi 2048} 2049 2050# check_namevarlist var 2051# Return "0" if ${name}_var is reserved in rc.subr. 2052 | 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 --- 2034 unchanged lines hidden (view full) --- 2045 eval _rc_cache_kern_features_$1=1 2046 return 1 2047 fi 2048} 2049 2050# check_namevarlist var 2051# Return "0" if ${name}_var is reserved in rc.subr. 2052 |
2053_rc_namevarlist="program chroot chdir flags fib nice user group groups" | 2053_rc_namevarlist="program chroot chdir env flags fib nice user group groups prepend" |
2054check_namevarlist() 2055{ 2056 local _v 2057 2058 for _v in $_rc_namevarlist; do 2059 case $1 in 2060 $_v) return 0 ;; 2061 esac --- 27 unchanged lines hidden --- | 2054check_namevarlist() 2055{ 2056 local _v 2057 2058 for _v in $_rc_namevarlist; do 2059 case $1 in 2060 $_v) return 0 ;; 2061 esac --- 27 unchanged lines hidden --- |