mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
bug fix - removing resolv.conf causes dns errors until you reboot. this is safer.
This commit is contained in:
@@ -55,8 +55,7 @@ ln -s /tmp /var/spool
|
||||
sed -i "s/spool\s*0755/spool 1777/g" /usr/lib/tmpfiles.d/var.conf >/dev/null
|
||||
|
||||
# Move dhcpd.resolv.conf to tmpfs
|
||||
touch /tmp/dhcpcd.resolv.conf
|
||||
rm /etc/resolv.conf
|
||||
mv /etc/resolv.conf /tmp/dhcpcd.resolv.conf
|
||||
ln -s /tmp/dhcpcd.resolv.conf /etc/resolv.conf
|
||||
|
||||
# Update /etc/fstab
|
||||
|
||||
Reference in New Issue
Block a user