Skip to contentSkip to conversation

rpcbind : add startup script

PATCH New Sagaert Johan 2 participants 2 messages Jun 15, 2014 – Jun 22, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 rpcbind : add startup script

rpcbind must be started at boot time.
Without this any nfs mount will fail.

---
v2: reworked using INSTALL_INIT_SYSV hook

 package/rpcbind/rpcbind.mk | 6 ++++++
 1 file changed, 6 insertions(+)
package/rpcbind/rpcbind.mk +6 -0
index 19bdace..a313030 100644
@@ -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
#1 lore raw

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.

---
v2: reworked using INSTALL_INIT_SYSV hook

 package/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