diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2008-02-29 11:48:56 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2008-02-29 11:48:56 -0800 |
commit | 0addbd328daaa27829fe088540eb9b12a4c8928d (patch) | |
tree | 4e4d7b902662c11c20848464278fd0a240010cf9 | |
parent | 30d8f0c649a9ee7a6e533e71b1bcb114df4576ed (diff) | |
download | vyatta-op-0addbd328daaa27829fe088540eb9b12a4c8928d.tar.gz vyatta-op-0addbd328daaa27829fe088540eb9b12a4c8928d.zip |
revert sudo removal for "identify" command since the kernel change
allowing this has been reverted.
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | templates/show/interfaces/ethernet/node.tag/identify/node.def | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 314a24d..2333bb9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,6 +3,7 @@ default_DATA = etc/default/vyatta completiondir = /etc/bash_completion.d completion_DATA = etc/bash_completion.d/10vyatta-op opdir = $(datadir)/vyatta-op/templates +bin_sudo_usersdir = $(bindir)/sudo-users funcdir = $(datadir)/vyatta-op/functions func_DATA = functions/tech-support @@ -20,7 +21,8 @@ bin_SCRIPTS += scripts/vyatta-show-log-file bin_SCRIPTS += scripts/vyatta-show-dmesg bin_SCRIPTS += scripts/vyatta-show-dmesg-all bin_SCRIPTS += scripts/vyatta-show-dmi -bin_SCRIPTS += scripts/vyatta-identify-interface.pl + +bin_sudo_users_SCRIPTS = scripts/vyatta-identify-interface.pl cpiop = find . ! -regex '\(.*~\|.*\.bak\|.*\.swp\|.*\#.*\#\)' -print0 | \ cpio -0pd diff --git a/templates/show/interfaces/ethernet/node.tag/identify/node.def b/templates/show/interfaces/ethernet/node.tag/identify/node.def index 3bbd413..d94172f 100644 --- a/templates/show/interfaces/ethernet/node.tag/identify/node.def +++ b/templates/show/interfaces/ethernet/node.tag/identify/node.def @@ -1,2 +1,2 @@ help: Visually identify the specified Ethernet interface -run: ${vyatta_bindir}/vyatta-identify-interface.pl "$4" +run: sudo ${vyatta_bindir}/sudo-users/vyatta-identify-interface.pl "$4" |