wok rev 19621

dhcp: vlan support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 10 16:46:56 2017 +0100 (2017-01-10)
parents c8c90fc3490e
children 9c81bcc2a3b7
files dhcp/stuff/dhcpd
line diff
     1.1 --- a/dhcp/stuff/dhcpd	Tue Jan 10 16:37:33 2017 +0200
     1.2 +++ b/dhcp/stuff/dhcpd	Tue Jan 10 16:46:56 2017 +0100
     1.3 @@ -14,6 +14,10 @@
     1.4  OPTIONS=$DHCPD_OPTIONS
     1.5  PIDFILE=/var/run/dhcpd.pid
     1.6  
     1.7 +for i in $OPTIONS ; do
     1.8 +	case "$i" in eth*.*) vconfig set_flag $i 1 1; esac
     1.9 +done
    1.10 +
    1.11  case "$1" in
    1.12    start)
    1.13      if active_pidfile $PIDFILE dhcpd ; then