summaryrefslogtreecommitdiffstats
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
commitf95db8bac8334bbf5add2b4dbf1b13a064295dc7 (patch)
tree1cb804fd49d54e7af1fd3de344d5704053263882
parent17485c04ad8ee2df902c10be38449809c1dfb692 (diff)
downloadmaster-31e0f0ae-f95db8bac8334bbf5add2b4dbf1b13a064295dc7.tar.gz
master-31e0f0ae-f95db8bac8334bbf5add2b4dbf1b13a064295dc7.tar.bz2
master-31e0f0ae-f95db8bac8334bbf5add2b4dbf1b13a064295dc7.zip
fix a warning (#1800)
SVN-Revision: 7809
-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 &