Here are some alternatives for grabbing the version: ./opkg list-installed | grep base-files
base-files - 98-r29484 (you can parse this) Release versions have: cat /etc/openwrt_release The LuCI web server has a script it uses to get the version for either release or development: See /usr/lib/lua/luci/version.lua You could grep on that too if /etc/openwrt_release isn't found. _______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-users
