summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2008-10-09 17:22:25 -0700
committerBob Gilligan <gilligan@vyatta.com>2008-10-09 17:22:25 -0700
commit2abb4626a99c176542cad3b747e1b145881683c0 (patch)
tree5c8f88636951eb6911877d0944b046e9f45bbb10 /scripts
parent8d8dee18e6fc0cbd65916ea32ef364be93a85242 (diff)
parent2e20a0901c98266daec3056b0226d4672942bcad (diff)
downloadvyatta-cfg-quagga-2abb4626a99c176542cad3b747e1b145881683c0.tar.gz
vyatta-cfg-quagga-2abb4626a99c176542cad3b747e1b145881683c0.zip
Merge branch 'islavista' of http://git.vyatta.com/vyatta-cfg-system into islavista
Diffstat (limited to 'scripts')
-rw-r--r--scripts/dns-forwarding/vyatta-dns-forwarding.pl1
-rwxr-xr-xscripts/vyatta-grub-setup2
2 files changed, 2 insertions, 1 deletions
diff --git a/scripts/dns-forwarding/vyatta-dns-forwarding.pl b/scripts/dns-forwarding/vyatta-dns-forwarding.pl
index 38f5ee67..6cdcfaa0 100644
--- a/scripts/dns-forwarding/vyatta-dns-forwarding.pl
+++ b/scripts/dns-forwarding/vyatta-dns-forwarding.pl
@@ -50,6 +50,7 @@ sub dnsforwarding_get_constants {
chomp $date;
$output = "#\n# autogenerated by vyatta-dns-forwarding.pl on $date\n#\n";
$output .= "log-facility=/var/log/dnsmasq.log\n";
+ $output .= "no-poll\n";
system("rm -f /var/log/dnsmasq.log; touch /var/log/dnsmasq.log");
return $output;
}
diff --git a/scripts/vyatta-grub-setup b/scripts/vyatta-grub-setup
index 1bf47dde..c37bf7a8 100755
--- a/scripts/vyatta-grub-setup
+++ b/scripts/vyatta-grub-setup
@@ -76,7 +76,7 @@ kernel_versions=$(ls $ROOTFSDIR/boot/vmlinuz-* 2> /dev/null | grep -v xen | awk
# get xen kernel info
xen_kernel_version=$(ls $ROOTFSDIR/boot/vmlinuz*xen 2> /dev/null | awk -F/ '{ print $5 }' | sed 's/vmlinuz//g' | sort -r)
-xen_version=$(ls $ROOTFSDIR/boot/xen-* 2> /dev/null | awk -F/ '{ print $5 }' | sort -r)
+xen_version=$(ls $ROOTFSDIR/boot/xen-*.gz 2> /dev/null | head -1 | awk -F/ '{ print $5 }' | sort -r)
# Figure out whether we are running on the serial or KVM console:
if [ "`tty`" == "/dev/ttyS0" ]; then