repo.or.cz
/
girocco.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Make location of nc.openbsd configurable
[girocco.git]
/
toolbox
/
run-taskd.sh
blob
35a30a374146356749c4edb590c2a4182397c7d9
1
#!/bin/sh
2
3
cd
"
$HOME
"
4
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
10
fi
11
exec
perl
-I
@basedir@
/
taskd @basedir@
/
taskd
/
taskd.pl
"$@"