fix a warning (#1800)
[openwrt/openwrt.git] / package / base-files / files / etc / init.d / boot
index 0c31f1ce9e0798cadb48dbedaa772ff8e225a250..aff47cfc748b7091d66b6ac4331015015168ee11 100755 (executable)
@@ -38,7 +38,7 @@ start() {
        mkdir -p /var/state
        touch /var/log/wtmp
        touch /var/log/lastlog
-       ln -s /tmp/resolv.conf.auto /tmp/resolv.conf
+       ln -sf /tmp/resolv.conf.auto /tmp/resolv.conf
        [ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe
 
        /sbin/hotplug2 --override --persistent --max-children 1 &