Danja Vasiliev 10 年 前
コミット
bfd5ffad96

+ 2 - 2
openwrt/common/etc/banner

@@ -7,8 +7,8 @@
  -----------------------------------------------------
  version %VERSION% - based on OpenWRT %REVISION%
  -----------------------------------------------------
- provides now:            will provide:
+ provides:
    * Lighttpd               * Btrfs
    * Bash CGI               * Lua CGI
-   * SSH tunnels            * OpenVPN      
+   * SSH tunnels            * OpenVPN (not yet)
  -----------------------------------------------------

+ 2 - 2
openwrt/common/opt/lib/cgi/admin2.cgi

@@ -289,10 +289,10 @@ updateFw() {
   _OUT="$(/sbin/sysupgrade -T $_FWFILE 2>&1)"
   _ERR=$?
   [[ $_ERR -gt 0 ]] && showMesg "$_OUT"
-#  _OUT="$(runSuid /sbin/mtd -e firmware -q write $_FWFILE firmware)"
+  _OUT="$(runSuid /sbin/mtd -e firmware -q write $_FWFILE firmware)"
   _ERR=$?
   [[ $_ERR -gt 0 ]] && showMesg "mtd failed, $_OUT"
-#  runSuid reboot
+  runSuid reboot
   showMesg 'Firmware update is completed, rebooting..' 'this might take up to 60 seconds'
 }
 

+ 1 - 1
openwrt/make_fw.sh

@@ -66,7 +66,7 @@ for _TARGET in $_TARGETS; do
   ## package stash, might need these:
   # kmod-fs-vfat kmod-fs-btrfs btrfs-progs
 
-  make image PROFILE=$_TARGET PACKAGES="bash gawk sudo procps-ps openssh-sftp-server 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 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 wireless-tools avahi-daemon kmod-fs-vfat kmod-fs-btrfs btrfs-progs swap-utils" FILES=$_PWD/$_TARGET.tmp BIN_DIR=$_BUILDS/$_VERSION/$_TARGET/openwrt && 
+  make image PROFILE=$_TARGET PACKAGES="bash gawk sudo procps-ps openssh-sftp-server 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 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 wireless-tools avahi-daemon kmod-fs-vfat kmod-fs-btrfs btrfs-progs swap-utils sfdisk coreutils-base64" 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

+ 1 - 1
openwrt/sg_0.1.revision

@@ -1 +1 @@
-38
+46