diff options
-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" |