summaryrefslogtreecommitdiff
path: root/scripts/vyatta-link-detect
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyatta-link-detect')
-rwxr-xr-xscripts/vyatta-link-detect4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-link-detect b/scripts/vyatta-link-detect
index af392549..9dc17e05 100755
--- a/scripts/vyatta-link-detect
+++ b/scripts/vyatta-link-detect
@@ -24,10 +24,10 @@ set-sysctl () {
case $2 in
on) set-sysctl $1 2
- exec vyatta-vtysh -c "configure terminal" -c "interface $1" \
+ exec vtysh -c "configure terminal" -c "interface $1" \
-c "link-detect" ;;
off) set-sysctl $1 1
- exec vyatta-vtysh -c "configure terminal" -c "interface $1" \
+ exec vtysh -c "configure terminal" -c "interface $1" \
-c "no link-detect" ;;
*) usage;;
esac