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

(-)usr/lib/univention-system-setup/scripts/net/10interfaces (-1 / +1 lines)
 Lines 103-109    Link Here 
103
					while :
103
					while :
104
					do
104
					do
105
						# check if virtual interface is free
105
						# check if virtual interface is free
106
						if ! univention-config-registry shell "interfaces/${interface}_.*/.*" | cut -d_ -f3 | grep -Fqs "$virtual"
106
						if [ -z "$(univention-config-registry search "interfaces/${interface}_${virtual}.*"; grep -Es "interfaces/${interface}_${virtual}" $profile_file)" ]
107
						then
107
						then
108
							echo "interfaces/${interface}_${virtual}/netmask=$(univention-config-registry get "interfaces/$interface/netmask")" >> "$profile_file"
108
							echo "interfaces/${interface}_${virtual}/netmask=$(univention-config-registry get "interfaces/$interface/netmask")" >> "$profile_file"
109
							echo "interfaces/${interface}_${virtual}/address=$(univention-config-registry get "interfaces/$interface/address")" >> "$profile_file"
109
							echo "interfaces/${interface}_${virtual}/address=$(univention-config-registry get "interfaces/$interface/address")" >> "$profile_file"

Return to bug 27847