zeh
2025-06-04 8697c7e54ef58089c5ae90aada00ad4789c4f9da
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