Fix vconfig and remove debug

This commit is contained in:
Roy Marples 2007-10-30 13:08:29 +00:00
parent 6ffd3b5289
commit 9d1c1b66e5

View File

@ -43,14 +43,15 @@ vlan_pre_start() {
unset IFS unset IFS
case "${v}" in case "${v}" in
set_name_type" "*) x=${v} ;; set_name_type" "*) x=${v} ;;
*) x="$(echo "${v}" | sed -e "s/ / ${IFACE} /g")" *)
[ "${x}" = "${v}" ] && x="${x} ${IFACE}" set -- ${v}
x="$1 ${IFACE}"
shift
x="${x} $@"
;; ;;
esac esac
set -x
e="$(vconfig ${x} 2>&1 1>/dev/null)" e="$(vconfig ${x} 2>&1 1>/dev/null)"
set +x
[ -z "${e}" ] && continue [ -z "${e}" ] && continue
eerror "${e}" eerror "${e}"
return 1 return 1