packages/libs/avahi/files/netifd-autoip.sh
Rosen Penev 9290d41077
avahi: update to 0.8
Clean up Makefile slightly.

Update configure options for the new version.

Remove first patch and update the other one.

Use a different solution for the stack protector on certain platforms.

Run script through shellcheck. Small quote fix.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-25 20:53:35 -08:00

20 lines
323 B
Bash
Executable file

#!/bin/sh
. /lib/functions.sh
. ../netifd-proto.sh
init_proto "$@"
proto_autoip_setup() {
local config="$1"
local iface="$2"
proto_export "INTERFACE=$config"
proto_run_command "$config" avahi-autoipd "$iface"
}
proto_autoip_teardown() {
local interface="$1"
proto_kill_command "$interface"
}
add_protocol autoip