Skip to content

Commit 0767f9a

Browse files
authored
Fix wifi popup
1 parent 39ef32c commit 0767f9a

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

files/chroot_build.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,16 @@ cat <<EOF > /etc/udev/rules.d/30-amdgpu-pm.rules
5555
KERNEL=="card[012]", SUBSYSTEM=="drm", DRIVERS=="amdgpu", ATTR{device/power_dpm_force_performance_level}="low"
5656
EOF
5757

58+
echo >&2 "===]> Info: Add udev Rule to stop annoying WiFi popup... "
59+
cat <<EOF | sudo tee /etc/udev/rules.d/99-network-t2-ncm.rules
60+
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="ac:de:48:00:11:22", NAME="t2_ncm"
61+
EOF
62+
63+
cat <<EOF | sudo tee /etc/NetworkManager/conf.d/99-network-t2-ncm.conf
64+
[main]
65+
no-auto-default=t2_ncm
66+
EOF
67+
5868
echo >&2 "===]> Info: Cleanup the chroot environment... "
5969

6070
truncate -s 0 /etc/machine-id || true

0 commit comments

Comments
 (0)