wlan-ap-Telecominfraproject/feeds/tip/tip-defaults/files/etc/init.d/tip-version
John Crispin e54a3d7db0 ucentral: development update
* update ucentral-client
* update ucentral-schema
* rework CI file deployment
* fix firmware version reporting

Signed-off-by: John Crispin <john@phrozen.org>
2021-05-06 14:25:37 +02:00

11 lines
332 B
Bash
Executable File

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