mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-18 01:41:24 +00:00
* update ucentral-client * update ucentral-schema * rework CI file deployment * fix firmware version reporting Signed-off-by: John Crispin <john@phrozen.org>
11 lines
332 B
Bash
Executable File
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
|
|
}
|