diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2008-02-26 13:33:14 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2008-02-26 13:33:14 -0800 |
commit | 210ad3ed32aeacacb0c9435ef11b770b04e135ed (patch) | |
tree | 734b6cdc0ad090cf285ac76025ece91da4313e1f | |
parent | e4105d088ddda49c4d5c2b88ee81daa793e24204 (diff) | |
download | vyatta-cluster-210ad3ed32aeacacb0c9435ef11b770b04e135ed.tar.gz vyatta-cluster-210ad3ed32aeacacb0c9435ef11b770b04e135ed.zip |
show command doesn't need sudo
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | templates-op/show/cluster/status/node.def | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 03c49e0..9531f18 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,11 +1,10 @@ cfgdir = $(datadir)/vyatta-cfg/templates opdir = $(datadir)/vyatta-op/templates share_perl5dir = $(datadir)/perl5 -bin_sudo_usersdir = $(bindir)/sudo-users curverdir = $(sysconfdir)/config-migrate/current sbin_SCRIPTS = scripts/vyatta-update-cluster.pl -bin_sudo_users_SCRIPTS = scripts/vyatta-show-cluster.pl +sbin_SCRIPTS += scripts/vyatta-show-cluster.pl share_perl5_DATA = scripts/VyattaClusterConfig.pm curver_DATA = cfg-version/cluster@1 diff --git a/templates-op/show/cluster/status/node.def b/templates-op/show/cluster/status/node.def index 564f926..aff3731 100644 --- a/templates-op/show/cluster/status/node.def +++ b/templates-op/show/cluster/status/node.def @@ -1,2 +1,2 @@ help: Show the current clustering status -run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-cluster.pl +run: ${vyatta_sbindir}/vyatta-show-cluster.pl |