custom kernel version

This commit is contained in:
illiliti 2020-02-11 23:30:20 +03:00
parent b99aae7474
commit b0ae8ec446
2 changed files with 4 additions and 1 deletions

3
config
View File

@ -5,6 +5,9 @@
# debug mode
#debug=1
# custom kernel version
#kernel=""
# parse fstab
#use_fstab=0

View File

@ -413,7 +413,7 @@ check_currentdir
# variables
tmpdir="$(create_tmpdir)" || msg panic "failed to create working directory"
kernel="$(uname -r)"
kernel="${kernel:-$(uname -r)}"
moddir="/lib/modules"
modker="${moddir}/${kernel}"