From 051f8636a29113521c1d223b8708d8f21122b79b Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sun, 20 May 2018 21:02:45 +0200 Subject: [PATCH] init check_config --- src/func/check_config | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 src/func/check_config diff --git a/src/func/check_config b/src/func/check_config new file mode 100755 index 0000000..2b68c8c --- /dev/null +++ b/src/func/check_config @@ -0,0 +1,13 @@ +#!/bin/bash +#remaster lib +[ -d "" ] || { echo "LIBDIR not exist"; exit 1; } + +# +function () { + #Code of +} + +#this func is standalone executable +[ -n "$1" ] && { + $@ +}