package/owfs: delay sysvinit start until after network and avahi
In its default configuration, owserver opens a TCP socket on the 'lo' interface. However, in some situations, the 'lo' interface may not yet be up until S40network is started. This causes owserver not to start its TCP socket, which makes it impossible for the owfs client to connect to it. In addition, owserver may have avahi integration. Therefore, delay the start of owserver and owfs until after S40network and S50avahi-daemon. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
0aee683920
commit
efc6ccbddc
@ -31,8 +31,8 @@ OWFS_CONF_OPTS += \
|
||||
--with-fuseinclude=$(STAGING_DIR)/usr/include \
|
||||
--with-fuselib=$(STAGING_DIR)/usr/lib
|
||||
define OWFS_INSTALL_FUSE_INIT_SYSV
|
||||
$(INSTALL) -D -m 0755 $(OWFS_PKGDIR)S30owfs \
|
||||
$(TARGET_DIR)/etc/init.d/S30owfs
|
||||
$(INSTALL) -D -m 0755 $(OWFS_PKGDIR)S60owfs \
|
||||
$(TARGET_DIR)/etc/init.d/S60owfs
|
||||
endef
|
||||
define OWFS_CREATE_MOUNTPOINT
|
||||
mkdir -p $(TARGET_DIR)/dev/1wire
|
||||
@ -102,8 +102,8 @@ endif
|
||||
OWFS_MAKE = $(MAKE) $(OWFS_EXTRA_MAKE_OPTS)
|
||||
|
||||
define OWFS_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -D -m 0755 $(OWFS_PKGDIR)S25owserver \
|
||||
$(TARGET_DIR)/etc/init.d/S25owserver
|
||||
$(INSTALL) -D -m 0755 $(OWFS_PKGDIR)S55owserver \
|
||||
$(TARGET_DIR)/etc/init.d/S55owserver
|
||||
$(OWFS_INSTALL_FUSE_INIT_SYSV)
|
||||
endef
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user