From 389d5d780402be55af5779e918bfefefdbc157a7 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 15 Feb 2015 19:10:19 +0100 Subject: [PATCH] more quoting --- modules/debian-org/templates/rc.local.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -%> -- 2.20.1