rpcbind : add startup script
PATCH v2 1/1 rpcbind : add startup script
rpcbind must be started at boot time.
Without this any nfs mount will fail.
Signed-off-by Sagaert Johan <[email protected]>
---
v2: reworked using INSTALL_INIT_SYSV hook
package/rpcbind/rpcbind.mk | 6 ++++++ 1 file changed, 6 insertions(+)
package/rpcbind/rpcbind.mk +6 -0
@@ -15,4 +15,10 @@ RPCBIND_CONF_ENV += \ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/tirpc/" RPCBIND_DEPENDENCIES += libtirpc +define RPCBIND_INSTALL_INIT_SYSV + [ -f $(TARGET_DIR)/etc/init.d/S30rpcbind ] || \ + $(INSTALL) -m 0755 -D package/rpcbind/S30rpcbind \ + $(TARGET_DIR)/etc/init.d/S30rpcbind +endef + $(eval $(autotools-package))
Signature · 1 line
2.0.0
PATCH v2 1/1 rpcbind : add startup script
Dear Sagaert Johan,
Quoted 9 lines · Sagaert Johan
rpcbind must be started at boot time.
Without this any nfs mount will fail.Signed-off-by Sagaert Johan <[email protected]>---
v2: reworked usingINSTALL_INIT_SYSVhookpackage/rpcbind/rpcbind.mk | 6 ++++++ 1 file changed, 6 insertions(+)
Where is the startup script itself?
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com