##// END OF EJS Templates
Don't create symlink if exists /etc/resolv.conf...
Michal Švamberg -
r100:925b5ca1ddd2
parent child
Show More
@@ -11,5 +11,7 if [ ! -f "/run/systemd/resolve/resolv.conf" ] ; then
11 touch /run/systemd/resolve/resolv.conf
11 touch /run/systemd/resolve/resolv.conf
12 fi
12 fi
13
13
14 # Create symlink to /etc/reolv.conf
14 # Create symlink to /etc/reolv.conf if not exists yet
15 ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
15 if [ ! -e "/etc/resolv.conf" ] ; then
16 ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
17 fi
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant