projects
/
feed
/
packages.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #11353 from kvuorine/fwknop-fixes
[feed/packages.git]
/
libs
/
avahi
/
files
/
netifd-autoip.sh
1
#!/bin/sh
2
3
.
/
lib
/
functions.sh
4
. ..
/
netifd-proto.sh
5
init_proto
"$@"
6
7
proto_autoip_setup
() {
8
local
config
=
"
$1
"
9
local
iface
=
"
$2
"
10
11
proto_export
"INTERFACE=
$config
"
12
proto_run_command
"
$config
"
avahi-autoipd
"
$iface
"
13
}
14
15
proto_autoip_teardown
() {
16
local
interface
=
"
$1
"
17
proto_kill_command
"
$interface
"
18
}
19
20
add_protocol autoip