fix a warning (#1800)
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 30 Jun 2007 20:00:29 +0000 (20:00 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 30 Jun 2007 20:00:29 +0000 (20:00 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7809 3c298f89-4303-0410-b956-a3cf2f4a3e73

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 &