blob: bcb98b23cfeff22108d267c105f24da45fd66515 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 $?
}
|