diff options
author | John Southworth <john.southworth@vyatta.com> | 2012-02-29 22:55:45 +0000 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2012-02-29 22:55:45 +0000 |
commit | d1fff3cab23fec182b70aba6589e475ec208d6e6 (patch) | |
tree | 0510482681330b177ce209a4a4db043628e6b0ae /scripts | |
parent | 82b0bced0463c33ef48d8268072940a36ce04d68 (diff) | |
parent | 90d8a2731ab6739abf3f8faae01dd16eea4c5ece (diff) | |
download | vyatta-cfg-system-d1fff3cab23fec182b70aba6589e475ec208d6e6.tar.gz vyatta-cfg-system-d1fff3cab23fec182b70aba6589e475ec208d6e6.zip |
Merge branch 'oxnard' of git.vyatta.com:/git/vyatta-cfg-system into oxnard
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/init-floppy | 4 | ||||
-rwxr-xr-x | scripts/install/install-image | 6 | ||||
-rwxr-xr-x | scripts/rl-system.init | 3 | ||||
-rwxr-xr-x | scripts/system/vyatta_update_ntp.pl | 2 |
4 files changed, 9 insertions, 6 deletions
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" diff --git a/scripts/install/install-image b/scripts/install/install-image index 57730611..3cce1a15 100755 --- a/scripts/install/install-image +++ b/scripts/install/install-image @@ -100,7 +100,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 @@ -129,7 +129,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 @@ -186,7 +186,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 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 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"; } |