View | Details | Raw Unified | Return to bug 47338
Collapse All | Expand All

(-)a/management/univention-join/univention-server-join (-5 / +4 lines)
 Lines 131-138   do Link Here 
131
			shift 2 || exit 2
131
			shift 2 || exit 2
132
			;;
132
			;;
133
		"-mac")
133
		"-mac")
134
			MAC+="${2:?missing ethernet MAC address}
134
			MAC+=("${2:?missing ethernet MAC address}")
135
"
136
			shift 2 || exit 2
135
			shift 2 || exit 2
137
			;;
136
			;;
138
		"-bindaccount")
137
		"-bindaccount")
 Lines 316-324   create_entry () { Link Here 
316
			fi
315
			fi
317
		fi
316
		fi
318
		if [ -n "$MAC" ]; then
317
		if [ -n "$MAC" ]; then
319
			while read line; do
318
			for i in "${MAC[@]}"; do
320
				args+=(--set mac="$line")
319
				args+=(--set mac="$i")
321
			done <<< "$MAC"
320
			done
322
		fi
321
		fi
323
		# DHCP
322
		# DHCP
324
		case "$module" in
323
		case "$module" in

Return to bug 47338