#! /bin/sh # /etc/init.d/cf: start compiz-fusion # # Place this in /etc/init.d and then run `sudo update-rc.d cf defaults` test -x /usr/bin/compiz-fusion || exit 0 case "$1" in start) # Start CF on one screen ;; restart) # Restart CF ;; stop) # Stop CF and replace it with kwin/etc ;; status) # Define a "status" section ;; *) echo "Usage: /etc/init.d/cf {start|stop|restart|status}" exit 2 ;; esac exit 0