iproute2: update to 3.18.0
This commit is contained in:
parent
b7dec43ed3
commit
294130caae
@ -2,6 +2,7 @@ drwxr-xr-x root/root etc/
|
||||
drwxr-xr-x root/root etc/iproute2/
|
||||
-rw-r--r-- root/root etc/iproute2/ematch_map
|
||||
-rw-r--r-- root/root etc/iproute2/group
|
||||
-rw-r--r-- root/root etc/iproute2/nl_protos
|
||||
-rw-r--r-- root/root etc/iproute2/rt_dsfield
|
||||
-rw-r--r-- root/root etc/iproute2/rt_protos
|
||||
-rw-r--r-- root/root etc/iproute2/rt_realms
|
||||
|
@ -1,3 +1,3 @@
|
||||
b741a02c6dda5818d18011d572874493 iproute2-3.17.0.tar.xz
|
||||
d6eb5a51b9bb5c1cbdf86a246dccf3c5 lo.iproute2
|
||||
b701a16fa5bec9c605b726f860bf83b5 net.iproute2
|
||||
6f6ad51a00007880460e103367b16057 iproute2-3.18.0.tar.xz
|
||||
7b469125cfe2d9916ba03f7c65b9dcd5 lo.iproute2
|
||||
826848debe693f2e2a3e235ce9abe601 net.iproute2
|
||||
|
@ -4,7 +4,7 @@
|
||||
# Depends on: db iptables
|
||||
|
||||
name=iproute2
|
||||
version=3.17.0
|
||||
version=3.18.0
|
||||
release=1
|
||||
source=(https://www.kernel.org/pub/linux/utils/net/$name/$name-$version.tar.xz \
|
||||
lo.iproute2 net.iproute2)
|
||||
|
@ -5,7 +5,6 @@
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
# loopback
|
||||
/sbin/ip addr add 127.0.0.1/8 dev lo broadcast + scope host
|
||||
/sbin/ip link set lo up
|
||||
;;
|
||||
|
@ -18,7 +18,7 @@ DHCPOPTS="-h `/bin/hostname` -t 10"
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
if [ "${TYPE}" == "DHCP" ]; then
|
||||
if [ "${TYPE}" = "DHCP" ]; then
|
||||
/sbin/dhcpcd ${DHCPOPTS}
|
||||
else
|
||||
/sbin/ip addr add ${ADDR}/${MASK} dev ${DEV} broadcast +
|
||||
@ -27,7 +27,7 @@ case $1 in
|
||||
fi
|
||||
;;
|
||||
stop)
|
||||
if [ "${TYPE}" == "DHCP" ]; then
|
||||
if [ "${TYPE}" = "DHCP" ]; then
|
||||
/sbin/dhcpcd -x
|
||||
else
|
||||
/sbin/ip route del default
|
||||
|
Loading…
Reference in New Issue
Block a user