aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-30 20:00:29 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-30 20:00:29 +0000
commit2dadc364a14b6daab2908589488e8a446d37c5bf (patch)
tree7899ec278c8a54237f833a0f72728b142bad8b82 /package/base-files
parent28696b037a4e97b1e887278e21d4f52ef4a0fc07 (diff)
downloadupstream-2dadc364a14b6daab2908589488e8a446d37c5bf.tar.gz
upstream-2dadc364a14b6daab2908589488e8a446d37c5bf.tar.bz2
upstream-2dadc364a14b6daab2908589488e8a446d37c5bf.zip
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 &