diff options
Diffstat (limited to 'net-proxy/wwwoffle/files/wwwoffled-online-2.8b')
-rwxr-xr-x | net-proxy/wwwoffle/files/wwwoffled-online-2.8b | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net-proxy/wwwoffle/files/wwwoffled-online-2.8b b/net-proxy/wwwoffle/files/wwwoffled-online-2.8b new file mode 100755 index 000000000000..bcb98b23cfef --- /dev/null +++ b/net-proxy/wwwoffle/files/wwwoffled-online-2.8b @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/wwwoffle/files/wwwoffled-online-2.8b,v 1.1 2005/04/22 19:15:12 mrness Exp $ + +depend() { + need wwwoffled net.${IFACE} +} + +start() { + ebegin "Starting wwwoffled-online" + wwwoffle -online -c /etc/wwwoffle.conf + wwwoffle -fetch -c /etc/wwwoffle.conf + eend $? +} + +stop() { + ebegin "Stopping wwwoffled-online" + wwwoffle -offline -c /etc/wwwoffle.conf + eend $? +} |