Jérémy Lecour
|
4a70693114
|
conditional readability
|
2019-03-23 02:36:41 +01:00 |
|
Jérémy Lecour
|
cfb4602bed
|
extract variable
|
2019-03-23 02:36:41 +01:00 |
|
Jérémy Lecour
|
5b9d41de0c
|
wording
|
2019-03-23 02:36:41 +01:00 |
|
Jérémy Lecour
|
76354bed48
|
extract variable
|
2019-03-23 02:36:41 +01:00 |
|
Jérémy Lecour
|
a01b53111d
|
OpenBSD version detection
|
2019-03-23 02:36:41 +01:00 |
|
Jérémy Lecour
|
8aadbed4de
|
Don't limit to Lenny
This test doesn't seem to be limited to Lenny, so we should check for
all backports
|
2019-03-23 02:36:41 +01:00 |
|
Jérémy Lecour
|
c2fda32d0d
|
extract main conditional
|
2019-03-23 02:36:41 +01:00 |
|
Jérémy Lecour
|
3b8617b20c
|
use grep -s instead of redirecting stderr
|
2019-03-23 02:36:41 +01:00 |
|
Jérémy Lecour
|
7cb7a47be7
|
improve readability
|
2019-03-23 02:36:41 +01:00 |
|
Jérémy Lecour
|
0afdfbf3a1
|
Use braces instead for command grouping.
It avoids subshells
|
2019-03-23 02:36:40 +01:00 |
|
Jérémy Lecour
|
9658e531ad
|
quotes
|
2019-03-23 02:36:40 +01:00 |
|
Jérémy Lecour
|
2267b79618
|
remove unused IS_TOOMUCHDEBIANSYSMAINT
|
2019-03-23 02:36:40 +01:00 |
|
Jérémy Lecour
|
fc3d2e28cf
|
APACHEMUNIN: muunin config can be in other files
|
2019-03-23 02:36:40 +01:00 |
|
Jérémy Lecour
|
a4c1629912
|
verbose comments for RAID checks
|
2019-03-23 02:36:40 +01:00 |
|
Jérémy Lecour
|
d51c64d410
|
reorganize IS_APACHEMUNIN
|
2019-03-23 02:36:40 +01:00 |
|
Jérémy Lecour
|
3353096ebe
|
don't use a sub shell for IS_REPVOLATILE
|
2019-03-23 02:36:40 +01:00 |
|
Jérémy Lecour
|
366fc03237
|
print duplicate labels on a single line
|
2019-03-23 02:36:40 +01:00 |
|
Jérémy Lecour
|
9b31ab030e
|
fix "is_debian_lenny"
|
2019-03-23 02:36:40 +01:00 |
|
Jérémy Lecour
|
2ad82591f3
|
test if it's a file, to ignore directories
|
2019-03-23 02:36:40 +01:00 |
|
Jérémy Lecour
|
c3b4efd71e
|
fix debian version detection for IS_LSBRELEASE
|
2019-03-23 02:36:40 +01:00 |
|
Jérémy Lecour
|
e525141ae4
|
move VERBOSE block to log comment
|
2019-03-23 02:36:40 +01:00 |
|
Jérémy Lecour
|
419ecbc10f
|
fix conditions grouping
|
2019-03-23 02:36:40 +01:00 |
|
Jérémy Lecour
|
367756d6b2
|
variables extraction
|
2019-03-23 02:36:40 +01:00 |
|
Jérémy Lecour
|
99ddd1a05c
|
better test ordering
|
2019-03-23 02:36:40 +01:00 |
|
Jérémy Lecour
|
3e14210a0b
|
extract if
|
2019-03-23 02:36:40 +01:00 |
|
Jérémy Lecour
|
9dcdd8202e
|
more permissions check with stat
|
2019-03-23 02:36:40 +01:00 |
|
Jérémy Lecour
|
057cb7026a
|
even more quotes
|
2019-03-23 02:36:40 +01:00 |
|
Jérémy Lecour
|
0fc9d0921e
|
grep can count occurrences too
|
2019-03-23 02:36:40 +01:00 |
|
Jérémy Lecour
|
ae12b37c7f
|
add verbose comments for IS_BACKPORTSCONF
|
2019-03-23 02:36:40 +01:00 |
|
Jérémy Lecour
|
830db4743c
|
more quotes
|
2019-03-23 02:36:40 +01:00 |
|
Jérémy Lecour
|
38b0342d0c
|
use stat instead of ls -l | grep
|
2019-03-23 02:36:10 +01:00 |
|
Jérémy Lecour
|
00311e8f0e
|
quote
|
2019-03-23 02:36:10 +01:00 |
|
Jérémy Lecour
|
fa79f1d1a8
|
big cleanup
* tests organization
* shellcheck conventions
* variables extractions
* quotes and indentations
|
2019-03-23 02:36:10 +01:00 |
|
Jérémy Lecour
|
2c44db77a3
|
replace `` with $()
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
|
2019-03-23 02:30:18 +01:00 |
|
Jérémy Lecour
|
720ea03b0c
|
Add IS_LSBRELEASE check
|
2019-03-23 02:29:24 +01:00 |
|
Jérémy Lecour
|
36fa3af815
|
replace old-fashioned tests with functions
|
2019-03-23 02:29:24 +01:00 |
|
Jérémy Lecour
|
d3cb743f76
|
MINIFW_FILE for Debian Lenny
|
2019-03-23 02:28:53 +01:00 |
|
Jérémy Lecour
|
1b4b2a2ff8
|
workaround possibly missing lsb_release command
|
2019-03-23 02:28:53 +01:00 |
|
Jérémy Lecour
|
9c4a40b585
|
optimize OS/release/version detection
|
2019-03-23 02:28:53 +01:00 |
|
Tristan PILAT
|
ec7de84aa7
|
Update default variables
continuous-integration/drone/push Build is failing
|
2019-03-22 17:51:56 +01:00 |
|
Tristan PILAT
|
6f55586f6b
|
That check is not required in our use case for OpenBSD
|
2019-03-22 17:51:06 +01:00 |
|
Tristan PILAT
|
f8f0effa94
|
Check IS_PFCUSTOM is left to be done
|
2019-03-22 17:36:23 +01:00 |
|
Tristan PILAT
|
ba43de597e
|
Check IS_PFENABLED is left to be done
|
2019-03-22 17:36:01 +01:00 |
|
Tristan PILAT
|
94cbf9e589
|
Fix IS_SSHPERMITROOTNO for OpenBSD
|
2019-03-22 17:34:05 +01:00 |
|
Tristan PILAT
|
7eba87917f
|
Add VERBOSE message for the IS_RSYNC check
|
2019-03-22 17:32:48 +01:00 |
|
Tristan PILAT
|
ed93ba9f5d
|
This is not required anymore
|
2019-03-22 17:32:20 +01:00 |
|
Tristan PILAT
|
3948702561
|
IS_ALERTBOOT is redondant with IS_REBOOTMAIL
|
2019-03-22 17:30:42 +01:00 |
|
Tristan PILAT
|
4f1ee5a982
|
Update the IS_NRPE check
|
2019-03-22 17:24:45 +01:00 |
|
Tristan PILAT
|
e509ea879e
|
inetd is now disabled by default
|
2019-03-22 17:22:24 +01:00 |
|
Tristan PILAT
|
5d5291f08d
|
Add VERBOSE message for the IS_TTYC0SECURE check
|
2019-03-22 17:21:43 +01:00 |
|