wok diff busybox/stuff/httpd_helper.sh @ rev 10811

lighttpd: stop Busybox httpd in post_install
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jun 05 01:40:47 2011 +0200 (2011-06-05)
parents 13ba44bf121e
children 6390498a6cd1
line diff
     1.1 --- a/busybox/stuff/httpd_helper.sh	Wed Apr 13 13:37:02 2011 +0200
     1.2 +++ b/busybox/stuff/httpd_helper.sh	Sun Jun 05 01:40:47 2011 +0200
     1.3 @@ -13,6 +13,7 @@
     1.4  # header "Content-type: text/html" "Set-Cookie: name=value; HttpOnly"
     1.5  header()
     1.6  {
     1.7 +local i
     1.8  [ -z "$1" ] && set -- "Content-type: text/html"
     1.9  for i in "$@" "" ; do echo -e "$i\r"; done
    1.10  }