summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions
index 588e324..d36884c 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -273,7 +273,7 @@ parse_numeric() {
configure_networking()
{
# networking already configured thus bail out
- [ -e /tmp/net-${DEVICE}.conf ] && return 0
+ [ -n "${DEVICE}" ] && [ -e /tmp/net-"${DEVICE}".conf ] && return 0
# support ip options see linux sources Documentation/nfsroot.txt
case ${IPOPTS} in