mirror of
https://github.com/t2linux/T2-Ubuntu.git
synced 2026-04-30 13:31:49 -07:00
Remove sudo from tee commands in chroot_iso.sh
This commit is contained in:
+2
-2
@@ -21,11 +21,11 @@ apt install -y linux-t2=${KERNEL_VERSION}-${PKGREL}-${CODENAME}
|
||||
|
||||
echo >&2 "===]> Info: Add udev Rule to stop annoying WiFi popup... "
|
||||
mkdir -p /etc/NetworkManager/conf.d
|
||||
cat <<EOF | sudo tee /etc/udev/rules.d/99-network-t2-ncm.rules
|
||||
cat <<EOF | tee /etc/udev/rules.d/99-network-t2-ncm.rules
|
||||
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="ac:de:48:00:11:22", NAME="t2_ncm"
|
||||
EOF
|
||||
|
||||
cat <<EOF | sudo tee /etc/NetworkManager/conf.d/99-network-t2-ncm.conf
|
||||
cat <<EOF | tee /etc/NetworkManager/conf.d/99-network-t2-ncm.conf
|
||||
[main]
|
||||
no-auto-default=t2_ncm
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user