summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-30 20:00:29 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-30 20:00:29 +0000
commit101062e0813248080d9bf1baa14ae06af0042df4 (patch)
tree7899ec278c8a54237f833a0f72728b142bad8b82 /package/base-files
parent34f3b3c1788688bef9590ebd9bb5069a372bfe89 (diff)
fix a warning (#1800)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7809 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/files/etc/init.d/boot2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot
index 0c31f1ce9e..aff47cfc74 100755
--- a/package/base-files/files/etc/init.d/boot
+++ b/package/base-files/files/etc/init.d/boot
@@ -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 &