Просмотр исходного кода

package/libiio: move iiod init script from S99 to S60

Running in S99 makes it impossible to start any service that uses iiod
after it, at least by numerical ordering only. Move it forward to
change that.

There are two dependencies of iiod:
1. The IIO devices that it should expose must be available.
2. Network must be up, which means firewall at least should be.

The former may be covered by loading modules, e.g. using S11modules
from package/initscripts. There are different ways to handle network
setup, but with SysV init scripts they generally run before S50.

Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fiona Klute 2 недель назад
Родитель
Сommit
8c64a83c43
2 измененных файлов с 2 добавлено и 2 удалено
  1. 0 0
      package/libiio/S60iiod
  2. 2 2
      package/libiio/libiio.mk

+ 0 - 0
package/libiio/S99iiod → package/libiio/S60iiod


+ 2 - 2
package/libiio/libiio.mk

@@ -100,8 +100,8 @@ endif
 
 ifeq ($(BR2_PACKAGE_LIBIIO_IIOD),y)
 define LIBIIO_INSTALL_INIT_SYSV
-	$(INSTALL) -D -m 0755 package/libiio/S99iiod \
-		$(TARGET_DIR)/etc/init.d/S99iiod
+	$(INSTALL) -D -m 0755 package/libiio/S60iiod \
+		$(TARGET_DIR)/etc/init.d/S60iiod
 endef
 endif