summaryrefslogtreecommitdiff
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
commitf95db8bac8334bbf5add2b4dbf1b13a064295dc7 (patch)
tree1cb804fd49d54e7af1fd3de344d5704053263882 /package/base-files
parent17485c04ad8ee2df902c10be38449809c1dfb692 (diff)
downloadmtk-20170518-f95db8bac8334bbf5add2b4dbf1b13a064295dc7.zip
mtk-20170518-f95db8bac8334bbf5add2b4dbf1b13a064295dc7.tar.gz
mtk-20170518-f95db8bac8334bbf5add2b4dbf1b13a064295dc7.tar.bz2
fix a warning (#1800)
SVN-Revision: 7809
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 0c31f1c..aff47cf 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 &