Make location of nc.openbsd configurable
[girocco.git] / toolbox / run-taskd.sh
blob35a30a374146356749c4edb590c2a4182397c7d9
1 #!/bin/sh
3 cd "$HOME"
5 if [ "$1" = "--shell" ]; then
6 shift
7 trap 'exec "$SHELL" -l -i' EXIT
8 perl -I@basedir@/taskd @basedir@/taskd/taskd.pl "$@"
9 exit
11 exec perl -I@basedir@/taskd @basedir@/taskd/taskd.pl "$@"