summaryrefslogtreecommitdiff
path: root/rootconf
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2023-06-12 20:26:25 +0800
committerluwenpeng <[email protected]>2023-06-13 11:40:17 +0800
commit3bd11e4d657e98b58ab129bd019aea78076c9b29 (patch)
treed059eecc6574101e61215e405872355cc5bba3a1 /rootconf
parentf30015805df4068d7f3697bd0ef98db5f514a9d5 (diff)
修改CI编译条件 & 更新 onie-netcfg-set 脚本HEADv2.0.7-20230613dev-23.06
* 增加注释信息 * 避免grubenv原始数据没有换行符造成onie_network_option配置无法识别
Diffstat (limited to 'rootconf')
-rwxr-xr-xrootconf/default/bin/onie-netcfg-set2
1 files changed, 2 insertions, 0 deletions
diff --git a/rootconf/default/bin/onie-netcfg-set b/rootconf/default/bin/onie-netcfg-set
index ab8999af..263106b8 100755
--- a/rootconf/default/bin/onie-netcfg-set
+++ b/rootconf/default/bin/onie-netcfg-set
@@ -202,6 +202,8 @@ bond="bond"
option=$1
+echo "# Automatically generated onie_network_option_xxx; DO NOT EDIT" >>/mnt/onie-boot/grub/grubenv
+
if [ "$option" = "$clear" ]; then
clear_config $1 $2 $3
ret=$?