Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nounous
openwrt-crans-package
Commits
da0181a3
Commit
da0181a3
authored
Jan 23, 2017
by
Hamza Dely
Browse files
Retire le script pour monit, disponible upstream
parent
f8166bb6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
da0181a3
...
...
@@ -77,8 +77,6 @@ define Package/crans/install
$(INSTALL_DATA)
files/etc/config/dropbear
$(1)/etc/config/dropbear
install
-d
-m0700
$(1)/etc/dropbear/
$(INSTALL_CONF)
files/etc/dropbear/authorized_keys
$(1)/etc/dropbear/authorized_keys
$(INSTALL_DIR)
$(1)/etc/init.d/
$(INSTALL_BIN)
files/etc/init.d/monit
$(1)/etc/init.d/monit
$(INSTALL_DIR)
$(1)/usr/share/watch_net/
$(INSTALL_BIN)
files/usr/share/watch_net/watch_net.sh
$(1)/usr/share/watch_net/watch_net.sh
$(INSTALL_DIR)
$(1)/lib/wifi/
...
...
files/etc/init.d/monit
deleted
100755 → 0
View file @
f8166bb6
#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2012 OpenWrt.org
START
=
60
SERVICE_USE_PID
=
1
start
()
{
[
-f
/etc/monitrc
]
||
return
1
ls
-l
/etc/monitrc |
grep
-q
'^-rw-------'
[
$?
-eq
0
]
||
chmod
0700 /etc/monitrc
service_start /usr/bin/monit
}
stop
()
{
service_stop /usr/bin/monit
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment