~fredg/snaps

bd2377dee7797ed89c76d4efb46f7d7433a0ff2e — Fred. Galusik 11 months ago 06dcc39
-c: use sysctl for kernel version instead of dmesg first line
1 files changed, 1 insertions(+), 1 deletions(-)

M snaps
M snaps => snaps +1 -1
@@ 149,7 149,7 @@ s_upports() {


s_cur() {
    CURRENTSYS=$(sed q /var/run/dmesg.boot)
    CURRENTSYS=$(sysctl kern.version | head -1 | sed 's/kern.version=//')
    echo "=== LOCAL BASE BUILD DATE ==="
    echo "${CURRENTSYS}"
}