projects
/
platform
/
upstream
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tftp: do not risk invoking Sorcerer's Apprentice syndrome
[platform/upstream/busybox.git]
/
examples
/
udhcp
/
simple.script
diff --git
a/examples/udhcp/simple.script
b/examples/udhcp/simple.script
index
abf1b6f
..
40ee738
100644
(file)
--- a/
examples/udhcp/simple.script
+++ b/
examples/udhcp/simple.script
@@
-3,7
+3,7
@@
RESOLV_CONF="/etc/resolv.conf"
-[ -n "$1" ] ||
echo "Error: should be called from udhcpc" && exit 1
+[ -n "$1" ] ||
{ echo "Error: should be called from udhcpc"; exit 1; }
NETMASK=""
[ -n "$subnet" ] && NETMASK="netmask $subnet"