init check_config

This commit is contained in:
6543 2018-05-20 21:02:45 +02:00
parent fb4afed081
commit 051f8636a2

13
src/func/check_config Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
#remaster lib
[ -d "<LIBDIR>" ] || { echo "LIBDIR not exist"; exit 1; }

#<function>
function <function>() {
#Code of <function>
}

#this func is standalone executable
[ -n "$1" ] && {
<function> $@
}