openwrt-pf/package/base-files/files/lib/functions
Shiji Yang a0fe3cfb62 base-files: introduce a function to get kernel version number
A new function "get_linux_version()" to normalize and print the
kernel version as an integer. In some migration scripts, it is
useful for checking the Linux kernel version.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/19172
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-07-14 22:30:20 +02:00
..
caldata.sh base-files: fix offset conversion on caldata_patch_data() 2025-02-13 00:26:23 +01:00
ipv4.sh base-files: ipcalc.sh: Add tests for unroutable, etc 2023-12-12 12:30:35 -07:00
leds.sh
migrations.sh
network.sh
preinit.sh
service.sh
system.sh base-files: introduce a function to get kernel version number 2025-07-14 22:30:20 +02:00
uci-defaults.sh base-files: add ucidef_set_network_device_path_port function 2024-10-19 19:10:56 +02:00