# # Copyright (c) 2015 Qualcomm Atheros, Inc.. # # All Rights Reserved. # Qualcomm Atheros Confidential and Proprietary. # if [ "$ACTION" = "released" -a "$BUTTON" = "wps" ]; then enable=`/sbin/uci -q get repacd.repacd.Enable` PIPE_NAME='/var/run/repacd.pipe' if [ -n "$enable" -a "$enable" -ne 0 -a -p $PIPE_NAME ] ; then echo "wps_pbc" > $PIPE_NAME & fi fi