diff --git a/symlinker.sh b/symlinker.sh index f2320aa..f97f9c5 100755 --- a/symlinker.sh +++ b/symlinker.sh @@ -30,6 +30,19 @@ function idd(){ } +function mic(){ + name="staticmic" + linkDir="${linkDir}" + + if [ ! -f "${linkDir}/${name}" ];then + printf "\nLinking ${pwd}/${name} to ${linkDir}\n" + ln -s $(pwd)/${name}.sh ${linkDir}/${name} + else + printf "${name} already exists in ${linkDir}\n" + fi + + +} function svc(){ name="svc" @@ -56,6 +69,9 @@ case "${1}" in svc ) svc;; + mic ) + mic;; + test ) echo ${linkDir};; * ) printf "\n${0} \n"