瀏覽代碼

haserl added

Danja Vasiliev 10 年之前
父節點
當前提交
efbd619e63
共有 2 個文件被更改,包括 6 次插入4 次删除
  1. 3 2
      openwrt/common/etc/lighttpd/lighttpd.conf
  2. 3 2
      openwrt/make_fw.sh

+ 3 - 2
openwrt/common/etc/lighttpd/lighttpd.conf

@@ -45,8 +45,9 @@ compress.filetype = ( "application/x-javascript", "text/css", "text/html", "text
 
 index-file.names = ( "index.html", "default.html" )
 
-#cgi.assign = ( ".sh" => "/bin/bash" )
-cgi.assign = ( ".cgi" => "" )
+cgi.assign = ( ".sh" => "/bin/bash",
+                ".cgi" => "" )
+
 url.access-deny = ( "~", ".inc", ".htaccess", ".htpasswd", "htpasswd")
 
 $HTTP["request-method"] == "GET" {

+ 3 - 2
openwrt/make_fw.sh

@@ -13,7 +13,8 @@ _TARGETS='DIR505A1 TLWR710'
 _COMMON='common'
 
 _MAJOR='0.1'  ## bump that on major changes
-_SUFFIX='git'  ## could be 'beta', 'rc', etc
+#_SUFFIX='git'  ## could be 'beta', 'rc', etc
+_SUFFIX='testing'  ## could be 'beta', 'rc', etc
 
 ## read build serial, incremented on every successful build
 if [[ -e sg_$_MAJOR.revision ]]; then
@@ -43,7 +44,7 @@ for _TARGET in $_TARGETS; do
   echo $_VERSION > $_TARGET.tmp/etc/superglue_version
   cd $_IMAGEBUILDER && make clean
 
-  make image PROFILE=$_TARGET PACKAGES="bash gawk sudo procps-ps lighttpd lighttpd-mod-access lighttpd-mod-cgi lighttpd-mod-compress lighttpd-mod-accesslog lighttpd-mod-rewrite lighttpd-mod-auth lighttpd-mod-alias lighttpd-mod-setenv blkid kmod-fs-ext4 kmod-fs-vfat kmod-fs-btrfs btrfs-progs block-mount mini-sendmail kmod-usb-storage kmod-scsi-generic mount-utils kmod-nls-cp437 kmod-nls-iso8859-1 kmod-nls-utf8 kmod-nls-base coreutils-stat mini-httpd-htpasswd" FILES=$_PWD/$_TARGET.tmp BIN_DIR=$_BUILDS/$_VERSION/$_TARGET/openwrt && 
+  make image PROFILE=$_TARGET PACKAGES="bash gawk sudo procps-ps haserl lighttpd lighttpd-mod-access lighttpd-mod-cgi lighttpd-mod-compress lighttpd-mod-accesslog lighttpd-mod-rewrite lighttpd-mod-auth lighttpd-mod-alias lighttpd-mod-setenv blkid kmod-fs-ext4 kmod-fs-vfat kmod-fs-btrfs btrfs-progs block-mount mini-sendmail kmod-usb-storage kmod-scsi-generic mount-utils kmod-nls-cp437 kmod-nls-iso8859-1 kmod-nls-utf8 kmod-nls-base coreutils-stat mini-httpd-htpasswd" FILES=$_PWD/$_TARGET.tmp BIN_DIR=$_BUILDS/$_VERSION/$_TARGET/openwrt && 
 
   ln -s $_BUILDS/$_VERSION/$_TARGET/openwrt/openwrt-*-factory.bin $_BUILDS/$_VERSION/$_TARGET/superglue-firmware-$_VERSION-$(echo $_TARGET | tr [:upper:] [:lower:])-factory.bin
   ln -s $_BUILDS/$_VERSION/$_TARGET/openwrt/openwrt-*-sysupgrade.bin $_BUILDS/$_VERSION/$_TARGET/superglue-firmware-$_VERSION-$(echo $_TARGET | tr [:upper:] [:lower:])-sysupgrade.bin