wuwei
2025-06-16 9f7d99e9aa7fe85c6951d2f60361766e76c7bdfe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
 
#**********************************************************
#
#
#**********************************************************
net_cfg=/work/config.json
default_cfg_dir=/usr/local/default
lib_dir=/usr/local/userlib
#**********************************************************
if [ -f $net_cfg ]
then
    echo "has net config."
else
    echo "net config is not exist, use default"
    cp $default_cfg_dir/* /work/
fi