From ca93306c07b93dc2fba32990751d5d3c5eaa6ff0 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 21 Feb 2012 10:56:26 -0800 Subject: Fix spelling errors in install image Bug 7544 Found several misspellings in the install prompts. --- scripts/install/install-image | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/install/install-image b/scripts/install/install-image index 95acd733..c7659a7c 100755 --- a/scripts/install/install-image +++ b/scripts/install/install-image @@ -79,7 +79,7 @@ fetch_iso_by_url () exit 1 fi - echo "ISO download suceeded." + echo "ISO download succeeded." echo "Checking for digital signature file..." curl "$client_hdr" "$vers_hdr" $auth -f -o ${filename}.asc ${NEW_ISO}.asc @@ -108,7 +108,7 @@ fetch_iso_by_url () fail_exit 'OK. Installation will not be performed.' fi - echo "OK. Proceding with installation anyway." + echo "OK. Proceeding with installation anyway." else echo "Digital signature is valid." fi @@ -165,7 +165,7 @@ set_up_new_iso () else echo "Failed!" echo "$failures checksum failures found!" - echo "ISO image is correupted and can not be used." + echo "ISO image is corrupted and can not be used." exit 1 fi -- cgit v1.2.3 From 7fd047b8437f8e6c4231ce7da8377c662f936239 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 21 Feb 2012 11:00:04 -0800 Subject: Remove reference to init-floppy Bug 7608 --- scripts/init-floppy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/init-floppy b/scripts/init-floppy index 9f5301d8..1ae0d79b 100755 --- a/scripts/init-floppy +++ b/scripts/init-floppy @@ -35,7 +35,7 @@ failure () exit 1 } -# Look and see if we have a floopy drive +# Look and see if we have a floppy drive if sed -n '/[0-9]\+ fd$/ { q 1 }' /proc/devices || [ ! -e $DRIVE ] ; then failure "No floppy device" fi @@ -55,7 +55,7 @@ unbind__error="\rError: Couldn't unbind ${vyatta_sysconfdir}/config." umount_notice="\rAttempting to unmount floppy...\c" umount__error="\rError: Couldn't unmount $DRIVE." format_notice="\rFormatting floppy $DRIVE... \c" -format__error="\rPlease insert a floppy disk in $DRIVE and rerun init-floppy." +format__error="\rPlease insert a floppy disk in $DRIVE and rerun." create_notice="\rCreating file system... \c" create__error="\rError: Couldn't create filesystem on floppy $DRIVE" mount__notice="\rMounting formatted floppy... \c" -- cgit v1.2.3 From 5f583fe81fc8be7f9e516044b43f3f28037242c8 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 21 Feb 2012 13:19:31 -0800 Subject: Fix server property option Bug 7623 Patch provided by Stig. --- scripts/system/vyatta_update_ntp.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/system/vyatta_update_ntp.pl b/scripts/system/vyatta_update_ntp.pl index 4619b3bc..a162f858 100755 --- a/scripts/system/vyatta_update_ntp.pl +++ b/scripts/system/vyatta_update_ntp.pl @@ -33,7 +33,7 @@ $cfg->setLevel("system ntp"); foreach my $server ($cfg->listNodes("server")) { print "server $server iburst"; for my $property (qw(dynamic noselect preempt prefer)) { - print " $property" if ($cfg->exists("$server $property")); + print " $property" if ($cfg->exists("server $server $property")); } print "\n"; } -- cgit v1.2.3 From d1f4cfab1acba1450a2825fcd3db68c422972c59 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 21 Feb 2012 21:21:47 -0800 Subject: Cleanup interface statistic clear files on reboot clear interface statistics creates a file /var/run/vyatta/XXXX.stats that is used to adjust values. Since this data is meaningless after reboot, remove it. --- scripts/rl-system.init | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/rl-system.init b/scripts/rl-system.init index 20534897..fac5fbc1 100755 --- a/scripts/rl-system.init +++ b/scripts/rl-system.init @@ -216,6 +216,9 @@ start () { ## Clear out apt config file--it will be filled in by config load empty /etc/apt/sources.list + + # remove any interface stat clears + rm -f /var/run/vyatta/*.stats } case "$ACTION" in -- cgit v1.2.3