Setup and Configure Greyhole on OpenSUSE 11.3 KDE

Install the Required Applications for Greyhole

Here are the required packages that need installed for Greyhole to work properly. mysql-server php php-mysql php-mbstring samba samba-common patch gcc yum-utils php-pear rsync

Install Greyhole on OpenSUSE 11.3 KDE

    cd greyhole-*
    GREYHOLE_INSTALL_DIR=`pwd`
    mkdir -p /var/spool/greyhole
    chmod 777 /var/spool/greyhole
    install -m 0755 -D -p initd_script.sh /etc/init.d/greyhole
    install -m 0755 -D -p greyhole /usr/bin
    install -m 0755 -D -p greyhole-dfree /usr/bin
    install -m 0750 -D -p greyhole-config-update /usr/bin
    install -m 0644 -D -p logrotate.greyhole /etc/logrotate.d/greyhole
    install -m 0644 -D -p greyhole.cron.d /etc/cron.d/greyhole
    install -m 0755 -D -p greyhole.cron.weekly /etc/cron.weekly/greyhole
    install -m 0755 -D -p greyhole.cron.daily /etc/cron.daily/greyhole
    if [ -x /usr/lib64/samba/vfs/ ]; then cp samba-module/bin/3.5/greyhole-x86_64.so /usr/lib64/samba/vfs/greyhole.so; else cp samba-module/bin/3.5/greyhole-i386.so /usr/lib/samba/vfs/greyhole.so; fi
    service smb restart

Try and setup a shell script.