summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorrbalocca <rbalocca@vyatta.com>2008-11-05 14:40:26 -0800
committerrbalocca <rbalocca@vyatta.com>2008-11-05 14:40:26 -0800
commitec12deca1c129b1a3d62071d27d1fb5ce38df79b (patch)
treed4f5f2aff8448ddd203931df7ec10e9ca4872821 /scripts
parentde1b7e9f71704b538b5e3b2454681cdadb7a0513 (diff)
parent15edfc57c1d9de898d79d723ce72d51f6ac7dedf (diff)
downloadvyatta-cfg-quagga-ec12deca1c129b1a3d62071d27d1fb5ce38df79b.tar.gz
vyatta-cfg-quagga-ec12deca1c129b1a3d62071d27d1fb5ce38df79b.zip
Merge branch 'jenner' of git:/git/vyatta-cfg-system into jenner
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install-system4
-rw-r--r--scripts/snmp/vyatta-snmp.pl2
2 files changed, 5 insertions, 1 deletions
diff --git a/scripts/install-system b/scripts/install-system
index 2ac202f2..6b5519a5 100755
--- a/scripts/install-system
+++ b/scripts/install-system
@@ -718,7 +718,9 @@ install_root_filesystem () {
output=$(mount /live/image/boot/$version/$version.squashfs /mnt/squashfs -t squashfs -o loop)
status=$?
else
- echo -e "Error: Unable to find a squash image. \nExiting..."
+ echo -e "Error: Unable to find a squash image. To install natively\nthe install media must be a livecd or a union install.\nExiting...\n\n"
+ echo -e "Error: Unable to find a squash image. To install natively\nthe install media must be a livecd or a union install.\nExiting...\n\n" >> $INSTALL_LOG
+ exit 1
fi
if [ "$status" != 0 ]; then
diff --git a/scripts/snmp/vyatta-snmp.pl b/scripts/snmp/vyatta-snmp.pl
index 58dc374f..65247788 100644
--- a/scripts/snmp/vyatta-snmp.pl
+++ b/scripts/snmp/vyatta-snmp.pl
@@ -62,6 +62,8 @@ sub snmp_get_constants {
my $date = `date`;
chomp $date;
$output = "#\n# autogenerated by vyatta-snmp.pl on $date\n#\n";
+ $output .= "sysDescr Vyatta\n";
+ $output .= "sysObjectID 1.3.6.1.4.1.30803\n";
$output .= "sysServices 14\n";
$output .= "smuxpeer .1.3.6.1.4.1.3317.1.2.2\n"; # ospfd
$output .= "smuxpeer .1.3.6.1.4.1.3317.1.2.5\n"; # bgpd