add nic type
This commit is contained in:
parent
3cc04dd196
commit
173d5b44e5
@ -433,7 +433,7 @@ if [ ${version} -gt 4 ]; then
|
|||||||
awk -i inplace -F'=' -v country="$country" '/REGDOMAIN=/{$0=$1"="country} {print $0}' ${crda}
|
awk -i inplace -F'=' -v country="$country" '/REGDOMAIN=/{$0=$1"="country} {print $0}' ${crda}
|
||||||
fi
|
fi
|
||||||
jq --null-input --compact-output \
|
jq --null-input --compact-output \
|
||||||
"{uuid: \"${OMV_CONFIGOBJECT_NEW_UUID}\", devicename: \"${nic}\", method: \"dhcp\", method6: \"dhcp\", wpassid: \"${wifiName}\", wpapsk: \"${wifiPass}\"}" | \
|
"{uuid: \"${OMV_CONFIGOBJECT_NEW_UUID}\", devicename: \"${nic}\", type: \"wireless\", method: \"dhcp\", method6: \"dhcp\", wpassid: \"${wifiName}\", wpapsk: \"${wifiPass}\"}" | \
|
||||||
omv-confdbadm update "conf.system.network.interface" -
|
omv-confdbadm update "conf.system.network.interface" -
|
||||||
cfg=1
|
cfg=1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user