blob: eac3b7c514f3a098900031c6c99d138c794cda76 [file] [log] [blame]
#!/bin/sh
target_file=$1
# 这里的-f参数判断$target_file是否存在
if [ ! -f "$target_file" ]; then
cp ./conf/config.yaml $target_file
chmod 644 $target_file
fi