From fccff6a4ed64e746aec83778474c48ee0d503242 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 26 Mar 2008 22:39:27 +0000 Subject: Allow multiple ntp_servers without error, #47 --- net/system.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net/system.sh') diff --git a/net/system.sh b/net/system.sh index 2cbab9c7..aa654a10 100644 --- a/net/system.sh +++ b/net/system.sh @@ -58,8 +58,8 @@ _system_ntp() local servers= buffer= x= eval servers=\$ntp_servers_${IFVAR} - [ -z ${servers} ] && servers=${ntp_servers} - [ -z ${servers} ] && return 0 + [ -z "${servers}" ] && servers=${ntp_servers} + [ -z "${servers}" ] && return 0 buffer="# Generated by net-scripts for interface ${IFACE}\n" buffer="${buffer}restrict default noquery notrust nomodify\n" -- cgit v1.2.3