8 # set arg 0 to have a leading '-' to force a login shell since
9 # the -l option is shell-specific. All shells must understand -i.
10 exec perl
-e 'my $b=shift; exec $b @ARGV or die "Can\047t exec \"$b\": $!\n"' "$SHELL" "-$(basename "$SHELL")" -i
13 if [ "$1" = "--shell" ]; then
15 trap 'trap - HUP INT QUIT PIPE TERM TSTP TTIN TTOU; exec_login_shell' EXIT
16 trap '' HUP INT QUIT PIPE TERM TSTP TTIN TTOU
18 trap - HUP INT QUIT PIPE TERM TSTP TTIN TTOU
19 perl
-I@basedir@
/taskd @basedir@
/taskd
/taskd.pl
$DEFAULTOPTS "$@"
23 exec perl
-I@basedir@
/taskd @basedir@
/taskd
/taskd.pl
$DEFAULTOPTS "$@"