packages/net/dhcpcd/files/dhcpcd.init
Roy Marples 0f3f802446 Add dhcpcd-6.4.3, a fully featured yet light weight
DHCPv4/IPv4LL/IPv6RS/DHCPv6 quad stack client.

Signed-off-by: Roy Marples <roy@marples.name>
2014-08-02 14:20:00 +01:00

24 lines
375 B
Bash
Executable file

#!/bin/sh /etc/rc.common
#
# Copyright (C) 2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
START=30
STOP=85
USE_PROCD=1
start_service()
{
procd_open_instance
procd_set_param command /sbin/dhcpcd -B
procd_set_param respawn
procd_close_instance
}
reload_service()
{
/sbin/dhcpcd -n
}