summaryrefslogtreecommitdiff
path: root/scripts/vyatta-link-detect
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-03-05 15:30:03 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-03-05 15:30:03 -0800
commit7e018e496706667c3c0d9cc074d479b3fc445bd9 (patch)
tree94635b213133edb6c3724d0bf7469b5588db386d /scripts/vyatta-link-detect
parent25d3ee90522b1056d9a25735c3e0c89e7b1eeae1 (diff)
downloadvyatta-cfg-quagga-7e018e496706667c3c0d9cc074d479b3fc445bd9.tar.gz
vyatta-cfg-quagga-7e018e496706667c3c0d9cc074d479b3fc445bd9.zip
Get rid of vyatta-vtysh
For SELinux policy, changing vyatta-quagga to use standard path values. This means not having to change policies.
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