#! /bin/sh # # pbbuttons # Source function library. . /etc/rc.d/init.d/functions # See how we were called. case "$1" in start) echo -n "Starting pbbuttons daemon: " /usr/local/bin/pbbuttonsd 2>&1 >/tmp/pbbuttonsd & echo ;; stop) echo -n "Stopping pbbuttons daemon: " killall gtkpbbuttons killall pbbuttonsd echo ;; *) echo "Usage: pbbuttons {start|stop|status}" exit 1 esac exit 0