init check_config
This commit is contained in:
parent
fb4afed081
commit
051f8636a2
|
@ -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…
Reference in New Issue