blob: 5b0d51d736f7e8ed50cd50094a7b5ffaf4706037 [file] [log] [blame]
Brad Bishop96ff1982019-08-19 13:50:42 -04001From 6fce99c9e42cbacde1855473b745ca1fded3fbf7 Mon Sep 17 00:00:00 2001
Brad Bishop6e60e8b2018-02-01 10:27:11 -05002From: "Maxin B. John" <maxin.john@intel.com>
3Date: Wed, 21 Dec 2016 15:32:07 +0200
Brad Bishop96ff1982019-08-19 13:50:42 -04004Subject: [PATCH 2/2] inet[6].defn: fix inverted checks for loopback
Patrick Williamsc124f4f2015-09-15 14:41:29 -05005
6Compared to the hurd link.defn for loopback, we see these
7are inverted, meaning that you would only be able to configure
8a loopback device that was _not_ named "lo" (unlikely to exist).
9
10The result was that we'd update /run/network/ifstate for "lo"
11but never actually do anything for up/down, as shown below:
12
13root@localhost:~# ifconfig -s
Brad Bishop6e60e8b2018-02-01 10:27:11 -050014Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
15eth0 1500 0 7736329 0 2016 0 5289422 0 0 0 BMRU
16lo 65536 0 18 0 0 0 18 0 0 0 LRU
Patrick Williamsc124f4f2015-09-15 14:41:29 -050017root@localhost:~# ifdown lo
18root@localhost:~# echo $?
190
20root@localhost:~# ifconfig -s
Brad Bishop6e60e8b2018-02-01 10:27:11 -050021Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
22eth0 1500 0 7736406 0 2016 0 5289455 0 0 0 BMRU
23lo 65536 0 18 0 0 0 18 0 0 0 LRU
Patrick Williamsc124f4f2015-09-15 14:41:29 -050024root@localhost:~# ifconfig lo down
25root@localhost:~# ifconfig -s
26Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
Brad Bishop6e60e8b2018-02-01 10:27:11 -050027eth0 1500 0 7736474 0 2016 0 5289481 0 0 0 BMRU
Patrick Williamsc124f4f2015-09-15 14:41:29 -050028root@localhost:~#
29
Brad Bishop6e60e8b2018-02-01 10:27:11 -050030Also reverted the commit:
31commit 80b878497663dae08f70b4d3cffe127b57a3cfc
32which uses absolute paths to binaries called by ifup/ifdown.
33
34Upstream-Status: Inappropriate [OE specific]
35
Patrick Williamsc124f4f2015-09-15 14:41:29 -050036Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Brad Bishop6e60e8b2018-02-01 10:27:11 -050037Signed-off-by: Maxin B. John <maxin.john@intel.com>
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080038Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050039---
Brad Bishop96ff1982019-08-19 13:50:42 -040040 inet.defn | 134 +++++++++++++++++++++++++++---------------------------
41 1 file changed, 67 insertions(+), 67 deletions(-)
Patrick Williamsc124f4f2015-09-15 14:41:29 -050042
43diff --git a/inet.defn b/inet.defn
Brad Bishop96ff1982019-08-19 13:50:42 -040044index 182b56b..31067bc 100644
Patrick Williamsc124f4f2015-09-15 14:41:29 -050045--- a/inet.defn
46+++ b/inet.defn
47@@ -6,10 +6,10 @@ method loopback
48 This method may be used to define the IPv4 loopback interface.
49
50 up
Brad Bishop6e60e8b2018-02-01 10:27:11 -050051- /bin/ip link set dev %iface% up if (!iface_is_lo())
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080052+ ip link set dev %iface% up if (!iface_is_lo())
Patrick Williamsc124f4f2015-09-15 14:41:29 -050053
54 down
Brad Bishop6e60e8b2018-02-01 10:27:11 -050055- /bin/ip link set dev %iface% down if (!iface_is_lo())
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080056+ ip link set dev %iface% down if (!iface_is_lo())
Patrick Williamsc124f4f2015-09-15 14:41:29 -050057
58 method static
59 description
Brad Bishop6e60e8b2018-02-01 10:27:11 -050060@@ -36,17 +36,17 @@ method static
61 broadcast compute_v4_broadcast
Patrick Williamsc124f4f2015-09-15 14:41:29 -050062
63 up
Brad Bishop6e60e8b2018-02-01 10:27:11 -050064- /bin/ip addr add %address%[[/%netmask%]] [[broadcast %broadcast%]] \
65+ ip addr add %address%[[/%netmask%]] [[broadcast %broadcast%]] \
66 [[peer %pointopoint%]] [[scope %scope%]] dev %iface% label %iface%
67- /bin/ip link set dev %iface% [[mtu %mtu%]] [[address %hwaddress%]] up
68+ ip link set dev %iface% [[mtu %mtu%]] [[address %hwaddress%]] up
69
70- [[ /bin/ip route add default via %gateway% [[metric %metric%]] dev %iface% onlink ]]
71+ [[ ip route add default via %gateway% [[metric %metric%]] dev %iface% onlink ]]
72
73 down
74- [[ /bin/ip route del default via %gateway% [[metric %metric%]] dev %iface% 2>&1 1>/dev/null || true ]]
75- /bin/ip addr del %address%[[/%netmask%]] [[broadcast %broadcast%]] \
76+ [[ ip route del default via %gateway% [[metric %metric%]] dev %iface% 2>&1 1>/dev/null || true ]]
77+ ip addr del %address%[[/%netmask%]] [[broadcast %broadcast%]] \
78 [[peer %pointopoint%]] [[scope %scope%]] dev %iface% label %iface%
79- /bin/ip link set dev %iface% down \
80+ ip link set dev %iface% down \
81 if (iface_is_link())
82
83 method manual
84@@ -63,12 +63,12 @@ method manual
85 hwaddress cleanup_hwaddress
86
87 up
88- [[/bin/ip link set dev %iface% mtu %mtu%]]
89- [[/bin/ip link set dev %iface% address %hwaddress%]]
90- /bin/ip link set dev %iface% up 2>/dev/null || true
91+ [[ip link set dev %iface% mtu %mtu%]]
92+ [[ip link set dev %iface% address %hwaddress%]]
93+ ip link set dev %iface% up 2>/dev/null || true
94
95 down
96- /bin/ip link set dev %iface% down 2>/dev/null || true \
97+ ip link set dev %iface% down 2>/dev/null || true \
98 if (iface_is_link() && !do_all)
99
100 method dhcp
101@@ -93,33 +93,33 @@ method dhcp
102 hwaddress cleanup_hwaddress
103
104 up
105- [[/bin/ip link set dev %iface% address %hwaddress%]]
Brad Bishop96ff1982019-08-19 13:50:42 -0400106- /sbin/dhclient -4 -v -pf /run/dhclient.%iface%.pid -lf /var/lib/dhcp/dhclient.%iface%.leases -I -df /var/lib/dhcp/dhclient6.%iface%.leases %iface% \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500107+ [[ip link set dev %iface% address %hwaddress%]]
Brad Bishop96ff1982019-08-19 13:50:42 -0400108+ dhclient -4 -v -pf /run/dhclient.%iface%.pid -lf /var/lib/dhcp/dhclient.%iface%.leases -I -df /var/lib/dhcp/dhclient6.%iface%.leases %iface% \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500109 [[-e IF_METRIC=%metric%]] \
110 if (execable("/sbin/dhclient"))
111- /sbin/pump -i %iface% [[-h %hostname%]] [[-l %leasehours%]] \
112+ pump -i %iface% [[-h %hostname%]] [[-l %leasehours%]] \
113 elsif (execable("/sbin/pump"))
114- /sbin/udhcpc -n -p /run/udhcpc.%iface%.pid -i %iface% [[-x hostname:%hostname%]] \
115+ udhcpc -n -p /run/udhcpc.%iface%.pid -i %iface% [[-x hostname:%hostname%]] \
116 elsif (execable("/sbin/udhcpc"))
117- /sbin/dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %client%]] \
118+ dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %client%]] \
119 [[-l %leasetime%]] [[-m %metric%]] %iface% \
120 elsif (execable("/sbin/dhcpcd"))
121 echo 'No DHCP client software found!' >/dev/stderr; false \
122 elsif (1)
123
124 down
Brad Bishop96ff1982019-08-19 13:50:42 -0400125- /sbin/dhclient -4 -v -r -pf /run/dhclient.%iface%.pid -lf /var/lib/dhcp/dhclient.%iface%.leases -I -df /var/lib/dhcp/dhclient6.%iface%.leases %iface% \
126+ dhclient -4 -v -r -pf /run/dhclient.%iface%.pid -lf /var/lib/dhcp/dhclient.%iface%.leases -I -df /var/lib/dhcp/dhclient6.%iface%.leases %iface% \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500127 if (execable("/sbin/dhclient"))
128- /sbin/pump -i %iface% -r \
129+ pump -i %iface% -r \
130 elsif (execable("/sbin/pump"))
Brad Bishop96ff1982019-08-19 13:50:42 -0400131 if test -f /run/udhcpc.%iface%.pid; then kill -USR2 $(/bin/cat /run/udhcpc.%iface%.pid); kill -TERM $(/bin/cat /run/udhcpc.%iface%.pid); fi \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500132 elsif (execable("/sbin/udhcpc"))
133- /sbin/dhcpcd -k %iface% \
134+ dhcpcd -k %iface% \
135 elsif (execable("/sbin/dhcpcd"))
136 echo 'No DHCP client software found!' >/dev/stderr; false \
137 elsif (1)
138
139- /bin/ip link set dev %iface% down \
140+ ip link set dev %iface% down \
141 if (iface_is_link())
142
143 method bootp
144@@ -134,11 +134,11 @@ method bootp
145 whatever it really is.
146
147 up
148- /sbin/bootpc [[--bootfile %bootfile%]] --dev %iface% [[--server %server%]] \
149+ bootpc [[--bootfile %bootfile%]] --dev %iface% [[--server %server%]] \
150 [[--hwaddr %hwaddr%]] --returniffail --serverbcast
151
152 down
153- /bin/ip link set dev %iface% down \
154+ ip link set dev %iface% down \
155 if (iface_is_link())
156
157 method tunnel
158@@ -158,13 +158,13 @@ method tunnel
159 ttl time -- TTL setting
160 mtu size -- MTU size
161 up
162- /bin/ip tunnel add %iface% mode %mode% remote %endpoint% [[local %local%]] \
163+ ip tunnel add %iface% mode %mode% remote %endpoint% [[local %local%]] \
164 [[ttl %ttl%]]
165- /bin/ip link set %iface% up [[mtu %mtu%]]
166- /bin/ip addr add %address%/%netmask% dev %iface% [[peer %dstaddr%]]
167- [[ /bin/ip route add default via %gateway% [[metric %metric%]] dev %iface% onlink ]]
168+ ip link set %iface% up [[mtu %mtu%]]
169+ ip addr add %address%/%netmask% dev %iface% [[peer %dstaddr%]]
170+ [[ ip route add default via %gateway% [[metric %metric%]] dev %iface% onlink ]]
171 down
172- /bin/ip tunnel del %iface%
173+ ip tunnel del %iface%
174
175 method ppp
176 description
177@@ -175,9 +175,9 @@ method ppp
178 unit number -- Use /number/ as the ppp unit number.
179 options string -- Pass /string/ as additional options to pon.
180 up
181- /usr/bin/pon [[%provider%]] [[unit %unit%]] [[%options%]]
182+ pon [[%provider%]] [[unit %unit%]] [[%options%]]
183 down
184- /usr/bin/poff [[%provider%]]
185+ poff [[%provider%]]
186
187 method wvdial
188 description
189@@ -186,10 +186,10 @@ method wvdial
190 options
191 provider name -- Use /name/ as the provider (from /etc/wvdial.conf).
192 up
193- /sbin/start-stop-daemon --start -x /usr/bin/wvdial \
194+ start-stop-daemon --start -x /usr/bin/wvdial \
195 -p /run/wvdial.%iface%.pid -b -m -- [[ %provider% ]]
196 down
197- /sbin/start-stop-daemon --stop -x /usr/bin/wvdial \
198+ start-stop-daemon --stop -x /usr/bin/wvdial \
199 -p /run/wvdial.%iface%.pid -s 2
200
201
202@@ -200,9 +200,9 @@ method ipv4ll
203 known as APIPA or IPAC, and often colloquially referred to
204 as "Zeroconf address".
205 up
206- /usr/sbin/avahi-autoipd -D %iface%
207+ avahi-autoipd -D %iface%
208 down
209- /usr/sbin/avahi-autoipd --kill %iface%
210+ avahi-autoipd --kill %iface%
211
212 architecture kfreebsd
213
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800214@@ -211,11 +211,11 @@ method loopback
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500215 This method may be used to define the IPv4 loopback interface.
216
217 up
218- /sbin/ifconfig %iface% 127.0.0.1 up \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500219+ ifconfig %iface% 127.0.0.1 up \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800220 if (!iface_is_lo())
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500221
222 down
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500223- /sbin/ifconfig %iface% down \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500224+ ifconfig %iface% down \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800225 if (!iface_is_lo())
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500226
227 method static
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500228@@ -238,15 +238,15 @@ method static
229 hwaddress cleanup_hwaddress
230
231 up
232- [[ /sbin/ifconfig %iface% link %hwaddress%]]
233- /sbin/ifconfig %iface% %address% [[netmask %netmask%]] [[broadcast %broadcast%]] \
234+ [[ ifconfig %iface% link %hwaddress%]]
235+ ifconfig %iface% %address% [[netmask %netmask%]] [[broadcast %broadcast%]] \
236 [[pointopoint %pointopoint%]] [[media %media%]] [[mtu %mtu%]] \
237 up
238- [[ /sbin/route add default %gateway% ]]
239+ [[ route add default %gateway% ]]
240
241 down
242- [[ /sbin/route del default %gateway% 2>&1 1>/dev/null || true ]]
243- /sbin/ifconfig %iface% down
244+ [[ route del default %gateway% 2>&1 1>/dev/null || true ]]
245+ ifconfig %iface% down
246
247 method manual
248 description
249@@ -279,30 +279,30 @@ method dhcp
250 hwaddress cleanup_hwaddress
251
252 up
253- [[/sbin/ifconfig %iface% link %hwaddress%]]
Brad Bishop96ff1982019-08-19 13:50:42 -0400254- /sbin/dhclient -4 -v -pf /run/dhclient.%iface%.pid -lf /var/lib/dhcp/dhclient.%iface%.leases -I -df /var/lib/dhcp/dhclient6.%iface%.leases %iface% \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500255+ [[ifconfig %iface% link %hwaddress%]]
Brad Bishop96ff1982019-08-19 13:50:42 -0400256+ dhclient -4 -v -pf /run/dhclient.%iface%.pid -lf /var/lib/dhcp/dhclient.%iface%.leases -I -df /var/lib/dhcp/dhclient6.%iface%.leases %iface% \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500257 [[-e IF_METRIC=%metric%]] \
258 if (execable("/sbin/dhclient"))
259- /sbin/udhcpc -n -p /run/udhcpc.%iface%.pid -i %iface% [[-H %hostname%]] \
260+ udhcpc -n -p /run/udhcpc.%iface%.pid -i %iface% [[-H %hostname%]] \
261 [[-c %client%]] \
262 elsif (execable("/sbin/udhcpc"))
263- /sbin/dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %client%]] \
264+ dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %client%]] \
265 [[-l %leasetime%]] %iface% \
266 elsif (execable("/sbin/dhcpcd"))
267 echo 'No DHCP client software found!' >/dev/stderr; false \
268 elsif (1)
269
270 down
Brad Bishop96ff1982019-08-19 13:50:42 -0400271- /sbin/dhclient -4 -v -r -pf /run/dhclient.%iface%.pid -lf /var/lib/dhcp/dhclient.%iface%.leases -I -df /var/lib/dhcp/dhclient6.%iface%.leases %iface% \
272+ dhclient -4 -v -r -pf /run/dhclient.%iface%.pid -lf /var/lib/dhcp/dhclient.%iface%.leases -I -df /var/lib/dhcp/dhclient6.%iface%.leases %iface% \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500273 if (execable("/sbin/dhclient"))
Brad Bishop96ff1982019-08-19 13:50:42 -0400274 if test -f /run/udhcpc.%iface%.pid; then kill -USR2 $(/bin/cat /run/udhcpc.%iface%.pid); kill -TERM $(/bin/cat /run/udhcpc.%iface%.pid); fi \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500275 elsif (execable("/sbin/udhcpc"))
276- /sbin/dhcpcd -k %iface% \
277+ dhcpcd -k %iface% \
278 elsif (execable("/sbin/dhcpcd"))
279 echo 'No DHCP client software found!' >/dev/stderr; false \
280 elsif (1)
281
282- /sbin/ifconfig %iface% down
283+ ifconfig %iface% down
284
285 method bootp
286 description
287@@ -316,11 +316,11 @@ method bootp
288 whatever it really is.
289
290 up
291- /sbin/bootpc [[--bootfile %bootfile%]] --dev %iface% [[--server %server%]] \
292+ bootpc [[--bootfile %bootfile%]] --dev %iface% [[--server %server%]] \
293 [[--hwaddr %hwaddr%]] --returniffail --serverbcast
294
295 down
296- /sbin/ifconfig %iface% down
297+ ifconfig %iface% down
298
299 method ppp
300 description
301@@ -331,9 +331,9 @@ method ppp
302 unit number -- Use /number/ as the ppp unit number.
303 options string -- Pass /string/ as additional options to pon.
304 up
305- /usr/bin/pon [[%provider%]] [[unit %unit%]] [[%options%]]
306+ pon [[%provider%]] [[unit %unit%]] [[%options%]]
307 down
308- /usr/bin/poff [[%provider%]]
309+ poff [[%provider%]]
310
311 method wvdial
312 description
313@@ -342,10 +342,10 @@ method wvdial
314 options
315 provider name -- Use /name/ as the provider (from /etc/wvdial.conf).
316 up
317- /sbin/start-stop-daemon --start -x /usr/bin/wvdial \
318+ start-stop-daemon --start -x /usr/bin/wvdial \
319 -p /run/wvdial.%iface%.pid -b -m -- [[ %provider% ]]
320 down
321- /sbin/start-stop-daemon --stop -x /usr/bin/wvdial \
322+ start-stop-daemon --stop -x /usr/bin/wvdial \
323 -p /run/wvdial.%iface%.pid -s 2
324
325
326@@ -356,9 +356,9 @@ method ipv4ll
327 known as APIPA or IPAC, and often colloquially referred to
328 as "Zeroconf address".
329 up
330- /usr/sbin/avahi-autoipd -D %iface%
331+ avahi-autoipd -D %iface%
332 down
333- /usr/sbin/avahi-autoipd --kill %iface%
334+ avahi-autoipd --kill %iface%
335 architecture hurd
336
337 method loopback
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500338@@ -432,23 +432,23 @@ method dhcp
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500339
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500340 up
341 [[Warning: Option hwaddress: %hwaddress% not yet supported]]
Brad Bishop96ff1982019-08-19 13:50:42 -0400342- /sbin/dhclient -4 -v -pf /run/dhclient.%iface///.%.pid -lf /var/lib/dhcp/dhclient.%iface///.%.leases -I -df /var/lib/dhcp/dhclient6.%iface///.%.leases %iface% \
343+ dhclient -4 -v -pf /run/dhclient.%iface///.%.pid -lf /var/lib/dhcp/dhclient.%iface///.%.leases -I -df /var/lib/dhcp/dhclient6.%iface///.%.leases %iface% \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500344 if (execable("/sbin/dhclient"))
345- /sbin/udhcpc -n -p /run/udhcpc.%iface///.%.pid -i %iface% [[-H %hostname%]] \
346+ udhcpc -n -p /run/udhcpc.%iface///.%.pid -i %iface% [[-H %hostname%]] \
347 [[-c %client%]] \
348 elsif (execable("/sbin/udhcpc"))
349- /sbin/dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %client%]] \
350+ dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %client%]] \
351 [[-l %leasetime%]] %iface% \
352 elsif (execable("/sbin/dhcpcd"))
353 echo 'No DHCP client software found!' >/dev/stderr; false \
354 elsif (1)
355
356 down
Brad Bishop96ff1982019-08-19 13:50:42 -0400357- /sbin/dhclient -4 -v -r -pf /run/dhclient.%iface///.%.pid -lf /var/lib/dhcp/dhclient.%iface///.%.leases -I -df /var/lib/dhcp/dhclient6.%iface///.%.leases %iface% \
358+ dhclient -4 -v -r -pf /run/dhclient.%iface///.%.pid -lf /var/lib/dhcp/dhclient.%iface///.%.leases -I -df /var/lib/dhcp/dhclient6.%iface///.%.leases %iface% \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500359 if (execable("/sbin/dhclient"))
Brad Bishop96ff1982019-08-19 13:50:42 -0400360 if test -f /run/udhcpc.%iface///.%.pid; then kill -USR2 $(/bin/cat /run/udhcpc.%iface///.%.pid); kill -TERM $(/bin/cat /run/udhcpc.%iface///.%.pid); fi \
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500361 elsif (execable("/sbin/udhcpc"))
362- /sbin/dhcpcd -k %iface% \
363+ dhcpcd -k %iface% \
364 elsif (execable("/sbin/dhcpcd"))
365 echo 'No DHCP client software found!' >/dev/stderr; false \
366 elsif (1)
367@@ -482,9 +482,9 @@ method ppp
368 unit number -- Use /number/ as the ppp unit number.
369 options string -- Pass /string/ as additional options to pon.
370 up
371- /usr/bin/pon [[%provider%]] [[unit %unit%]] [[%options%]]
372+ pon [[%provider%]] [[unit %unit%]] [[%options%]]
373 down
374- /usr/bin/poff [[%provider%]]
375+ poff [[%provider%]]
376
377 method wvdial
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500378 description
Brad Bishop6e60e8b2018-02-01 10:27:11 -0500379@@ -493,10 +493,10 @@ method wvdial
380 options
381 provider name -- Use /name/ as the provider (from /etc/wvdial.conf).
382 up
383- /sbin/start-stop-daemon --start -x /usr/bin/wvdial \
384+ start-stop-daemon --start -x /usr/bin/wvdial \
385 -p /run/wvdial.%iface///.%.pid -b -m -- [[ %provider% ]]
386 down
387- /sbin/start-stop-daemon --stop -x /usr/bin/wvdial \
388+ start-stop-daemon --stop -x /usr/bin/wvdial \
389 -p /run/wvdial.%iface///.%.pid -s 2
390
391
392@@ -507,6 +507,6 @@ method ipv4ll
393 known as APIPA or IPAC, and often colloquially referred to
394 as "Zeroconf address".
395 up
396- /usr/sbin/avahi-autoipd -D %iface%
397+ avahi-autoipd -D %iface%
398 down
399- /usr/sbin/avahi-autoipd --kill %iface%
400+ avahi-autoipd --kill %iface%
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500401--
Brad Bishop96ff1982019-08-19 13:50:42 -04004022.17.1
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500403