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>
20 lines
323 B
Bash
Executable file
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
|