${port+-S-p}${port} \
${user+-U}${user} \
${group+-G}${group} \
- ${sockmode+-m}${sockmode} \
+ ${sockmode+-S-m}${sockmode} \
${trace+-S-T}${trace} \
${tunnel+-S-n}${tunnel} \
${miscopts}
echo -n "Stopping TrIPE VPN daemon:"
## If there's no socket, it must have quit (probably nonviolently).
- if test ! -S $TRIPESOCK; then
+ if (cd $TRIPEDIR && test ! -S $TRIPESOCK); then
echo " not running"
## Ask it to die nicely.