rc.subr (223298) | rc.subr (227366) |
---|---|
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 223298 2011-06-19 15:23:32Z jilles $ | 2# $FreeBSD: head/etc/rc.subr 227366 2011-11-08 23:02:32Z jilles $ |
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 --- 1622 unchanged lines hidden (view full) --- 1633 slist='' 1634 for dir in ${local_startup}; do 1635 if [ -d "${dir}" ]; then 1636 for file in ${dir}/[0-9]*.sh; do 1637 grep '^# PROVIDE:' $file >/dev/null 2>&1 && 1638 continue 1639 zlist="$zlist $file" 1640 done | 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 --- 1622 unchanged lines hidden (view full) --- 1633 slist='' 1634 for dir in ${local_startup}; do 1635 if [ -d "${dir}" ]; then 1636 for file in ${dir}/[0-9]*.sh; do 1637 grep '^# PROVIDE:' $file >/dev/null 2>&1 && 1638 continue 1639 zlist="$zlist $file" 1640 done |
1641 for file in ${dir}/[^0-9]*.sh; do | 1641 for file in ${dir}/[!0-9]*.sh; do |
1642 grep '^# PROVIDE:' $file >/dev/null 2>&1 && 1643 continue 1644 slist="$slist $file" 1645 done 1646 fi 1647 done 1648} 1649 --- 129 unchanged lines hidden --- | 1642 grep '^# PROVIDE:' $file >/dev/null 2>&1 && 1643 continue 1644 slist="$slist $file" 1645 done 1646 fi 1647 done 1648} 1649 --- 129 unchanged lines hidden --- |