#!/bin/sh

# Copyright (C) 2019 TPLINK

case "$ACTION" in
        plug-in)
                ubus call wan_status phy_status '{"status":1}'
                ;;
        plug-out)
                ubus call wan_status phy_status '{"status":0}'
                ;;
esac
