Fix vconfig and remove debug
This commit is contained in:
parent
6ffd3b5289
commit
9d1c1b66e5
@ -43,14 +43,15 @@ vlan_pre_start() {
|
||||
unset IFS
|
||||
case "${v}" in
|
||||
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
|
||||
|
||||
set -x
|
||||
e="$(vconfig ${x} 2>&1 1>/dev/null)"
|
||||
set +x
|
||||
[ -z "${e}" ] && continue
|
||||
eerror "${e}"
|
||||
return 1
|
||||
|
Loading…
Reference in New Issue
Block a user