2 # based on script by (c) vip at linux.pl, wolf at pld-linux.org
4 MOZILLA_FIVE_HOME=/usr/lib/mozilla-thunderbird-bin
5 if [ "$1" == "-remote" ]; then
6 $MOZILLA_FIVE_HOME/thunderbird "$@"
8 PING=`$MOZILLA_FIVE_HOME/thunderbird -remote 'ping()' 2>&1 >/dev/null`
9 if [ -n "$PING" ]; then
10 $MOZILLA_FIVE_HOME/thunderbird "$@"
14 $MOZILLA_FIVE_HOME/thunderbird -remote 'xfeDoCommand (composeMessage)'
17 $MOZILLA_FIVE_HOME/thunderbird -remote 'xfeDoCommand (openInbox)'