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.
14 lines
333 B
Plaintext
14 lines
333 B
Plaintext
4 years ago
|
#!/bin/sh
|
||
|
# Copyright (c) 2016 Qualcomm Atheros, Inc.
|
||
|
#
|
||
|
# All Rights Reserved.
|
||
|
# Qualcomm Atheros Confidential and Proprietary.
|
||
|
|
||
|
[ "$ACTION" = ifup ] || exit 0
|
||
|
|
||
|
. /lib/functions/repacd-netdet.sh
|
||
|
|
||
|
if [ $(uci get repacd.repacd.EnableEthernetMonitoring) -eq 1 ] && ps | grep lldpd > /dev/null; then
|
||
|
repacd_netdet_lldpd_init restart
|
||
|
fi
|