mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 01:51:22 +00:00
DHCPv4/IPv4LL/IPv6RS/DHCPv6 quad stack client. Signed-off-by: Roy Marples <roy@marples.name>
25 lines
375 B
Bash
Executable File
25 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
|
|
}
|