#!/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
|