3 # A script for launch FreePOPs at startup on Linux systems
5 # Author: Ivan Gasperoni <gaspe (at) libero (dot) it>
10 PREFIX
="/usr/bin" # The FreePOPs installation path
11 PID
=`pidof -o %PPID /usr/bin/freepopsd` # freepopsd pid
15 stat_busy
"Starting freepops deamon"
24 stat_busy
"Stopping freepops deamon"
25 [ ! -z "$PID" ] && $PREFIX/freepopsd
-k &> /dev
/null
38 echo "Usage: freepops {start|stop|restart}"