summaryrefslogtreecommitdiff
path: root/bin/kernels.inc
blob: b884364ddb4590a87d39e2735f4f93dcd70ca04e (plain)
1
2
3
kernels="$(for d in $(find /usr/src -maxdepth 1 -name "linux-*-kogaion" -type d -print); do d=$(basename $d); echo ${d/linux-}; done | sort)"

running_kernel="$(d=$(basename $(readlink /usr/src/linux)); echo ${d/linux-})"