diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-03-03 14:56:24 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-03-03 14:56:24 -0800 |
commit | a18eacf13d1b159e9a4785ef0f76cfcfe3da5fee (patch) | |
tree | 95f86f7866135f198a2635a056e360bace7ea20d /scripts | |
parent | 749d4dc1be7e461610eaa72bdb8d2ca8b119d380 (diff) | |
download | vyatta-op-a18eacf13d1b159e9a4785ef0f76cfcfe3da5fee.tar.gz vyatta-op-a18eacf13d1b159e9a4785ef0f76cfcfe3da5fee.zip |
Use hardcoded path to ethtool
For security, use hardcoded path to command.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/vyatta-identify-interface.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-identify-interface.pl b/scripts/vyatta-identify-interface.pl index 8837652..1903d06 100644 --- a/scripts/vyatta-identify-interface.pl +++ b/scripts/vyatta-identify-interface.pl @@ -44,7 +44,7 @@ if ($cpid == 0) { # child print "Interface $intf should be blinking now.\n"; print "Press Enter to stop...\n"; - exec("ethtool -p $intf"); + exec("/usr/sbin/ethtool -p $intf"); # not reachable exit 0; } else { |