add initscript
[opensuse:popcorn.git] / popcorn.cron
1 #!/bin/sh
2
3 if [ -x /usr/bin/popcorn -a -r /etc/popcorn.conf ]; then
4     . /etc/popcorn.conf
5     export POPCORN_ENABLED
6     export POPCORN_METHOD
7     /usr/bin/popcorn
8 fi