diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2016-11-30 16:13:08 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2016-11-30 16:13:08 +0000 |
commit | 1e1a856634f53145e923e49bd666ad8ecc472e67 (patch) | |
tree | 32fdcff6a993df5542ed6b5f3aa53b4113781add | |
parent | a2df534c109fadf0dd5a78929534b75d97f0b7af (diff) |
only run dkms if root
-rwxr-xr-x | libvasile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -117,6 +117,7 @@ chrootchecksum () { } dkmsmod () { + checkroot # build and install any 3rd party kernel modules using DKMS if [[ -x $(which dkms) ]] ; then for i in $(dkms status | cut -d " " -f1,2 | sed -e 's/,//g' | sed -e 's/ /\//g' | sed -e 's/://g') ; do |