Skip to content

Commit 39fda41

Browse files
mfxaMarcus Funch
authored andcommitted
Add script to switch to HWE kernel
1 parent e662971 commit 39fda41

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#! /usr/bin/env sh
2+
3+
export DEBIAN_FRONTEND=noninteractive
4+
5+
ACTIVATE=$1
6+
7+
PKG="linux-generic-hwe-20.04"
8+
9+
if [ "$ACTIVATE" = 'True' ]; then
10+
apt-get install --assume-yes $PKG
11+
else
12+
apt-get remove --assume-yes $PKG
13+
fi

0 commit comments

Comments
 (0)