summaryrefslogtreecommitdiff
path: root/functions/tech-support
diff options
context:
space:
mode:
authorrbalocca <rbalocca@vyatta.com>2008-03-04 08:17:37 -0800
committerrbalocca <rbalocca@vyatta.com>2008-03-04 08:17:37 -0800
commit27842bd9ce2d4a68ee927e4782804a7be81071d7 (patch)
tree42855718b4371dff48dd5ed3505a944808bb9f0f /functions/tech-support
parent90694ce11a1a61de4381c44310f2b0b4f712a55e (diff)
parentddfa636a5e1e37b541366db500680612184d846e (diff)
downloadvyatta-op-27842bd9ce2d4a68ee927e4782804a7be81071d7.tar.gz
vyatta-op-27842bd9ce2d4a68ee927e4782804a7be81071d7.zip
Merge branch 'glendale' of git:/git/vyatta-op into glendale
Diffstat (limited to 'functions/tech-support')
-rwxr-xr-x[-rw-r--r--]functions/tech-support16
1 files changed, 9 insertions, 7 deletions
diff --git a/functions/tech-support b/functions/tech-support
index 61422d9..fb6a91f 100644..100755
--- a/functions/tech-support
+++ b/functions/tech-support
@@ -78,7 +78,7 @@ header PCI Info
lspci
header System Info
-sudo ${vyatta_bindir}/sudo-users/dmidecode
+${vyatta_bindir}/vyatta-show-dmi
header Interfaces
show interfaces
@@ -128,8 +128,10 @@ cat /etc/apt/sources.list
header /etc/ipsec.conf
cat /etc/ipsec.conf
-header /etc/ipsec.secrets
-sudo cat /etc/ipsec.secrets
+if [ -r /etc/ipsec.secrets ]; then
+ header /etc/ipsec.secrets
+ cat /etc/ipsec.secrets
+fi
header \''ls -l /etc/rc?.d'\'
ls -l /etc/rc?.d
@@ -138,16 +140,16 @@ header /etc/rc.local
cat /etc/rc.local
header \''iptables -L -vn'\'
-sudo ${vyatta_bindir}/sudo-users/iptables -L -vn
+sudo /sbin/iptables -L -vn
header \''iptables -t nat -L -vn'\'
-sudo ${vyatta_bindir}/sudo-users/iptables -t nat -L -vn
+sudo /sbin/iptables -t nat -L -vn
header \''iptables -t mangle -L -vn'\'
-sudo ${vyatta_bindir}/sudo-users/iptables -t mangle -L -vn
+sudo /sbin/iptables -t mangle -L -vn
header \''iptables -t raw -L -vn'\'
-sudo ${vyatta_bindir}/sudo-users/iptables -t raw -L -vn
+sudo /sbin/iptables -t raw -L -vn
header \''show ip route'\'
show ip route