network/nix/pkgs/openwrt/usteer-info.sh

4 lines
102 B
Bash
Executable File

#! /bin/sh
[ -p /tmp/usteer-info ] || exit 0
exec /bin/ubus call usteer local_info > /tmp/usteer-info