wlan-ap-Telecominfraproject/feeds/tip/tip-defaults/files/etc/init.d/tip-version
John Crispin 5347b7e74b ucentral: development update
* add freeradius wrapper package for gateway images
* pass version and hash in the firmware field
* update ucode to latest HEAD

Signed-off-by: John Crispin <john@phrozen.org>
2021-05-05 17:15:53 +02:00

10 lines
243 B
Bash
Executable File

#!/bin/sh /etc/rc.common
START=80
boot() {
HASH=$(cat /etc/openwrt_release | grep DISTRIB_TIP= | cut -d\' -f2)
VERSION=$(cat /etc/openwrt_release | grep DISTRIB_TIP_VERSION= | cut -d\' -f2)
echo "$VERSION-$HASH" > /tmp/ucentral.version
}