Update installer.sh
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
c066706716
commit
56b4055918
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check dmesg access
|
# Check dmesg access
|
||||||
if ! dmesg > /dev/null; then
|
if [[ "$(sysctl --values kernel.dmesg_restrict)" != "0" ]]; then
|
||||||
info "Fix kernel dmesg restriction"
|
info "Fix kernel dmesg restriction"
|
||||||
echo 0 > /proc/sys/kernel/dmesg_restrict
|
echo 0 > /proc/sys/kernel/dmesg_restrict
|
||||||
echo "kernel.dmesg_restrict=0" >> /etc/sysctl.conf
|
echo "kernel.dmesg_restrict=0" >> /etc/sysctl.conf
|
||||||
|
|
Loading…
Reference in a new issue