fix a warning (#1800)
authorFelix Fietkau <nbd@openwrt.org>
Sat, 30 Jun 2007 20:00:29 +0000 (20:00 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 30 Jun 2007 20:00:29 +0000 (20:00 +0000)
SVN-Revision: 7809

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 &