File ip-down.wwwoffle of Package wwwoffle
#!/bin/bash # # file for bringing wwwoffle aware it's offline # thanks to Martin Jost # enhanced by Klaus Singvogel <kssingvo@suse.de> # check if wwwoffle exists (is installed) and check if it is running if [ -x /usr/bin/wwwoffle ] && /etc/init.d/wwwoffle status > /dev/null ; then /usr/bin/wwwoffle -offline -c /etc/wwwoffle/wwwoffle.conf fi