| 1 | #!/sbin/runscript |
1 | #!/sbin/runscript |
| 2 | # Copyright 1999-2012 Gentoo Foundation |
2 | # Copyright 1999-2012 Gentoo Foundation |
| 3 | # Distributed under the terms of the GNU General Public License v2 |
3 | # Distributed under the terms of the GNU General Public License v2 |
| 4 | # $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/files/dhcrelay.init3,v 1.2 2012/05/16 15:57:20 vapier Exp $ |
4 | # $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/files/dhcrelay.init3,v 1.3 2012/11/11 21:42:02 vapier Exp $ |
| 5 | |
5 | |
| 6 | depend() { |
6 | depend() { |
| 7 | need net |
7 | need net |
| 8 | use logger |
8 | use logger #@slapd@ |
| 9 | } |
9 | } |
| 10 | |
10 | |
| 11 | start() { |
11 | start() { |
| 12 | if [ -z "${DHCRELAY_SERVERS}" ] ; then |
12 | if [ -z "${DHCRELAY_SERVERS}" ] ; then |
| 13 | eerror "No DHCRELAY_SERVERS specified in /etc/conf.d/${SVCNAME}" |
13 | eerror "No DHCRELAY_SERVERS specified in /etc/conf.d/${SVCNAME}" |