mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
monit addon: Fixed initscript stuff
This commit is contained in:
1
config/rootfiles/common/armv5tel/initscripts
Normal file → Executable file
1
config/rootfiles/common/armv5tel/initscripts
Normal file → Executable file
@@ -53,6 +53,7 @@ etc/rc.d/init.d/mISDN
|
||||
#etc/rc.d/init.d/mldonkey
|
||||
etc/rc.d/init.d/modules
|
||||
#etc/rc.d/init.d/motion
|
||||
#etc/rc.d/init.d/monit
|
||||
etc/rc.d/init.d/mountfs
|
||||
etc/rc.d/init.d/mountkernfs
|
||||
#etc/rc.d/init.d/mpd
|
||||
|
||||
1
config/rootfiles/common/i586/initscripts
Normal file → Executable file
1
config/rootfiles/common/i586/initscripts
Normal file → Executable file
@@ -54,6 +54,7 @@ etc/rc.d/init.d/mISDN
|
||||
#etc/rc.d/init.d/miniupnpd
|
||||
#etc/rc.d/init.d/mldonkey
|
||||
etc/rc.d/init.d/modules
|
||||
#etc/rc.d/init.d/monit
|
||||
#etc/rc.d/init.d/motion
|
||||
etc/rc.d/init.d/mountfs
|
||||
etc/rc.d/init.d/mountkernfs
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
etc/rc.d/rc0.d/K40monit
|
||||
etc/rc.d/rc3.d/S60monit
|
||||
etc/rc.d/rc6.d/K40monit
|
||||
etc/init.d/monit
|
||||
etc/monitrc
|
||||
usr/bin/monit
|
||||
#usr/share/man/man1/monit.1
|
||||
var/ipfire/backup/addons/includes/monit
|
||||
etc/rc.d/init.d/monit
|
||||
|
||||
0
lfs/initscripts
Normal file → Executable file
0
lfs/initscripts
Normal file → Executable file
12
lfs/monit
12
lfs/monit
@@ -77,17 +77,15 @@ $(subst %,%_MD5,$(objects)) :
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc
|
||||
cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
|
||||
install -v -m 644 $(DIR_SRC)/config/backup/includes/monit \
|
||||
/var/ipfire/backup/addons/includes/monit
|
||||
ln -sf ../init.d/pound /etc/rc.d/rc3.d/S60monit
|
||||
ln -sf ../init.d/pound /etc/rc.d/rc0.d/K40monit
|
||||
ln -sf ../init.d/pound /etc/rc.d/rc6.d/K40monit
|
||||
|
||||
# Remove temporary file.
|
||||
rm -vf /root/.rnd
|
||||
# Install default configuration
|
||||
install -v -m 644 $(DIR_SRC)/config/monit/monitrc /etc
|
||||
|
||||
# @rm -rf $(DIR_APP)
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
|
||||
Reference in New Issue
Block a user