From 381a448d1bc5fb00e56a4fff7fb6ea8e7faca0a1 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 1 Aug 2010 12:47:18 -0400 Subject: Ensure svscan.sh has a+rx --- config/tinydns/tinydns.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config/tinydns') diff --git a/config/tinydns/tinydns.inc b/config/tinydns/tinydns.inc index b5e43293..afa258fb 100644 --- a/config/tinydns/tinydns.inc +++ b/config/tinydns/tinydns.inc @@ -53,6 +53,10 @@ function tinydns_custom_php_install_command() { log_error("Could not open /usr/local/etc/rc.d/svscan.sh for writing."); return; } + + // Ensure svscan.sh has a+rx + exec("chmod a+rx /usr/local/etc/rc.d/svscan.sh"); + $ipaddress = $config['installedpackages']['tinydns']['config'][0]['ipaddress']; $minsegment = "10240"; -- cgit v1.2.3