Skip to content

Commit 6b3ae27

Browse files
author
Marcus Funch
committed
Merge branch 'feature/53795_add_script_to_switch_to_hwe_kernel' into 'master'
Add script to switch to HWE kernel See merge request os2borgerpc/os2borgerpc-scripts!168
2 parents e662971 + 39fda41 commit 6b3ae27

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)