| … | |
… | |
| 72 | ebegin "Caching service dependencies" |
72 | ebegin "Caching service dependencies" |
| 73 | rm -rf ${svcdir}/need/* |
73 | rm -rf ${svcdir}/need/* |
| 74 | rm -rf ${svcdir}/use/* |
74 | rm -rf ${svcdir}/use/* |
| 75 | for x in /etc/init.d/* |
75 | for x in /etc/init.d/* |
| 76 | do |
76 | do |
| 77 | if [ ! -L $x ] |
77 | [ "${x##*.}" = "sh" ] && continue |
| 78 | then |
78 | [ "${x##*.}" = "c" ] && continue |
| 79 | continue |
|
|
| 80 | fi |
|
|
| 81 | |
|
|
| 82 | #set to "" else we get problems |
79 | #set to "" else we get problems |
| 83 | NEED="" |
80 | NEED="" |
| 84 | USE="" |
81 | USE="" |
| 85 | |
82 | |
| 86 | myservice=${x##*/} |
83 | myservice=${x##*/} |