Initial commit

This commit is contained in:
Martin Pander
2020-09-10 09:54:18 +02:00
commit 03c7bc3c59
50 changed files with 7816 additions and 0 deletions

20
scripts/setup Executable file
View File

@ -0,0 +1,20 @@
#!/bin/bash
SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
BINDIR="$HOME/bin"
if [[ ! -d $BINDIR ]]; then
mkdir $BINDIR
fi
for scripts in $SCRIPTDIR/*; do
script=${scripts##*/}
if [[ $script != "setup" ]] && [[ $script != "alarm.msg" ]]; then
if [[ ! -a $BINDIR/$script ]]; then
ln -s $SCRIPTDIR/$script $BINDIR/$script
echo $script "symlinked to" $BINDIR/$script
else
echo "already exists:" $BINDIR/$script
fi
fi
done