You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
171 B
Bash

#!/bin/sh
. /lib/functions.sh
device="$(uci_get_state delos baptization DlanMacAddress)"
[ -n "$device" ] || exit 1
plctool -i "$1" -K "$(hpavkey -M "$2")" -M "$device"