Quellcode durchsuchen

fix a warning (#1800)

SVN-Revision: 7809
Felix Fietkau vor 18 Jahren
Ursprung
Commit
f95db8bac8
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      package/base-files/files/etc/init.d/boot

+ 1 - 1
package/base-files/files/etc/init.d/boot

@@ -38,7 +38,7 @@ start() {
 	mkdir -p /var/state
 	mkdir -p /var/state
 	touch /var/log/wtmp
 	touch /var/log/wtmp
 	touch /var/log/lastlog
 	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
 	[ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe
 
 
 	/sbin/hotplug2 --override --persistent --max-children 1 &
 	/sbin/hotplug2 --override --persistent --max-children 1 &