Browse Source

init check_config

pull/23/head
6543 4 years ago
parent
commit
051f8636a2
  1. 13
      src/func/check_config

13
src/func/check_config

@ -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> $@
}
Loading…
Cancel
Save