symlinker.sh: add loadsshkeys.sh
Former-commit-id: b1e8a12a0404f5759fbb1011884bf5559e602637
This commit is contained in:
parent
75198e62dc
commit
17ee82cbba
14
symlinker.sh
14
symlinker.sh
@ -28,6 +28,20 @@ function idd(){
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function loadsshkeys(){
|
||||||
|
name="loadsshkeys"
|
||||||
|
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 mic(){
|
function mic(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user