symlinker.sh: add staticmic.sh

Former-commit-id: d7cfa3331b43516d4e400db1ffce56399ff9cf60
This commit is contained in:
mollusk 2018-06-21 22:30:14 -07:00
parent dad9234690
commit e561b9ddf3

View File

@ -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} <command>\n"