Explorar el Código

busybox: fix blocking ntpd when DNS isn't available

Waldemar Brodkorb hace 7 años
padre
commit
5366aa37ec
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      package/busybox/Makefile
  2. 1 1
      package/busybox/files/ntpd.init

+ 1 - 1
package/busybox/Makefile

@@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk
 
 PKG_NAME:=		busybox
 PKG_VERSION:=		1.25.0
-PKG_RELEASE:=		2
+PKG_RELEASE:=		3
 PKG_HASH:=		5a0fe06885ee1b805fb459ab6aaa023fe4f2eccee4fb8c0fd9a6c17c0daca2fc
 PKG_DESCR:=		core utilities for embedded systems
 PKG_SECTION:=		base/apps

+ 1 - 1
package/busybox/files/ntpd.init

@@ -11,7 +11,7 @@ autostart)
 	exec sh $0 start
 	;;
 start)
-	/usr/sbin/ntpd $ntpd_flags
+	/usr/sbin/ntpd $ntpd_flags >/dev/null 2>&1 &
 	;;
 stop)
 	kill $(pgrep -f /usr/sbin/ntpd)