| # force net init.d scripts into symlinks |
# force net init.d scripts into symlinks |
| for f in "${ROOT}"/etc/init.d/net.* ; do |
for f in "${ROOT}"/etc/init.d/net.* ; do |
| [[ -e ${f} ]] || continue # catch net.* not matching anything |
[[ -e ${f} ]] || continue # catch net.* not matching anything |
| [[ ${f} == *.net.lo ]] && continue # real file now |
[[ ${f} == */net.lo ]] && continue # real file now |
| [[ ${f} == *.openrc.bak ]] && continue |
[[ ${f} == *.openrc.bak ]] && continue |
| if [[ ! -L ${f} ]] ; then |
if [[ ! -L ${f} ]] ; then |
| elog "Moved net service '${f##*/}' to '${f##*/}.openrc.bak' to force a symlink." |
elog "Moved net service '${f##*/}' to '${f##*/}.openrc.bak' to force a symlink." |