diff options
Diffstat (limited to 'package/rpcbind/rpcbind.mk')
-rw-r--r-- | package/rpcbind/rpcbind.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/rpcbind/rpcbind.mk b/package/rpcbind/rpcbind.mk index 5699b296e..f699b3d0b 100644 --- a/package/rpcbind/rpcbind.mk +++ b/package/rpcbind/rpcbind.mk @@ -16,4 +16,10 @@ RPCBIND_CONF_ENV += \ RPCBIND_DEPENDENCIES += libtirpc RPCBIND_CONF_OPT += --with-rpcuser=root +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)) |