summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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