mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
update for xinetd support
Fix typo in xinetd configuration directory. Restart xinetd during installation or uninstallation if xinetd is installed.
This commit is contained in:
@@ -78,7 +78,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && tar xzf agents.tar.gz
|
||||
cd $(DIR_APP) && install -v -m 755 check_mk_agent.linux /usr/bin/check_mk_agent
|
||||
cd $(DIR_APP) && install -v -m 755 xinetd.conf /etc/xinet.d/check_mk_agent
|
||||
-mkdir /etc/xinetd.d
|
||||
cd $(DIR_APP) && install -v -m 755 xinetd.conf /etc/xinetd.d/check_mk_agent
|
||||
cd $(DIR_APP) && gcc $(CFLAGS) waitmax.c -o waitmax
|
||||
cd $(DIR_APP) && install -v -m 755 waitmax /usr/bin/waitmax
|
||||
@rm -rf $(DIR_APP)
|
||||
|
||||
Reference in New Issue
Block a user