From: Peter Palfrader Date: Sun, 15 Feb 2015 18:10:19 +0000 (+0100) Subject: more quoting X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=389d5d780402be55af5779e918bfefefdbc157a7;p=mirror%2Fdsa-puppet.git more quoting --- diff --git a/modules/debian-org/templates/rc.local.erb b/modules/debian-org/templates/rc.local.erb index b6016e7e6..27d6ae72d 100755 --- a/modules/debian-org/templates/rc.local.erb +++ b/modules/debian-org/templates/rc.local.erb @@ -13,7 +13,7 @@ fi touch /var/run/reboot-lock <%- if hostname == "zani" then -%> - if [ -n "$(awk '$4 == "dasdb1" && $3 == "249999" {print}' /proc/partitions)" ]; then + if [ -n "$(awk '$4 == \"dasdb1\" && $3 == \"249999\" {print}' /proc/partitions)" ]; then mkswap /dev/dasdb1 && swapon /dev/dasdb1 fi <%- end -%>