c8a311484eddc31be74f4684e1339677b58c23f3
[openwrt/staging/lynxis/omap.git] / package / network / services / odhcpd / files / odhcpd.init
1 #!/bin/sh /etc/rc.common
2
3 START=35
4 STOP=85
5 USE_PROCD=1
6
7 start_service() {
8 procd_open_instance
9 procd_set_param command /usr/sbin/odhcpd
10 procd_set_param respawn
11 procd_close_instance
12 }
13
14 service_triggers()
15 {
16 procd_add_reload_trigger "dhcp"
17 }
18