diff options
-rw-r--r-- | Makefile.am | 1 | ||||
-rwxr-xr-x | functions/tech-support | 2 | ||||
-rw-r--r-- | scripts/vyatta-show-saved-config | 3 |
3 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index d8895d4..ac01505 100644 --- a/Makefile.am +++ b/Makefile.am @@ -24,6 +24,7 @@ bin_sudo_users_SCRIPTS += scripts/vyatta-delete-log-file.sh bin_sudo_users_SCRIPTS += scripts/vyatta-reboot.pl bin_sudo_users_SCRIPTS += scripts/vyatta-op-dns-forwarding.pl bin_sudo_users_SCRIPTS += scripts/vyatta-op-dynamic-dns.pl +bin_sudo_users_SCRIPTS += scripts/vyatta-show-saved-config cpiop = find . ! -regex '\(.*~\|.*\.bak\|.*\.swp\|.*\#.*\#\)' -print0 | \ cpio -0pd diff --git a/functions/tech-support b/functions/tech-support index 01adf11..d9b3d69 100755 --- a/functions/tech-support +++ b/functions/tech-support @@ -115,7 +115,7 @@ header Load Average cat /proc/loadavg header /opt/vyatta/etc/config/config.boot -cat /opt/vyatta/etc/config/config.boot +sudo ${vyatta_bindir}/sudo-users/vyatta-show-saved-config header Running configuration show configuration diff --git a/scripts/vyatta-show-saved-config b/scripts/vyatta-show-saved-config new file mode 100644 index 0000000..f492130 --- /dev/null +++ b/scripts/vyatta-show-saved-config @@ -0,0 +1,3 @@ +#!/bin/sh + +cat /opt/vyatta/etc/config/config.boot |