Dennis Camera
fba14496e7
[explorer/os] Unquote values from os-release file
2019-10-03 18:30:52 +02:00
Darko Poljak
281691cfd9
Merge pull request #772 from sideeffect42/openbsd-init
...
explorer/init: Add support for OpenBSD
2019-04-24 12:17:11 +02:00
Takashi Yoshi
6dd5278ade
[explorer/init] Add support for OpenBSD
2019-04-24 11:29:24 +02:00
Darko Poljak
5314f514c5
Print empty disk list for unsupported OS
2019-04-22 09:12:20 +02:00
Darko Poljak
b5bdb54b7f
Currently support only Linux, FreeBSD, OpenBSD, NetBSD
...
Make no assumptions, but rather output that system is unsupported
and ask the user to add support for it.
2019-04-20 13:08:22 +02:00
ab3544d5e8
global interfaces explorer: only check if we have ip or ifconfig and be more compatible.
...
tests on debian, centos, freebsd, openbsd, netbsd and solaris confirm that this is enough and extra os check is not needed here.
2019-04-20 02:05:32 +03:00
Nico Schottelius
aba1ae68f0
[explorer] disks: use echo instead of find as fallback
...
Fixes #761
2019-04-17 20:50:39 +02:00
Ander Punnar
1c152f0acb
fix disks explorer ( #753 )
...
* fix disks explorer
* fix SC2230
* exclude floppies
* update comment about excluded floppies
* add link to linux documentation about device majors
* try to support netbsd
* update possible netbsd disk devices
2019-04-12 20:41:05 +02:00
Daniel Néri
dbcf7d5543
explorer/disks: Add support for OpenBSD
2019-03-19 23:13:24 +01:00
Daniel Néri
0fc64a951c
explorer/cpu_cores: Add support for OpenBSD
2019-03-19 23:09:01 +01:00
Darko Poljak
83806e767a
Disable SC1091 where appropriate.
2018-10-07 10:22:11 +02:00
Darko Poljak
0cb127822f
Merge pull request #706 from darko-poljak/SC2164
...
Fix SC2164
2018-10-05 10:28:04 +02:00
Darko Poljak
49bb041330
Merge pull request #696 from thriqon/shellcheck-party-SC2086
...
Fix SC2086 on all scripts
2018-10-05 10:26:53 +02:00
Darko Poljak
c01cf38660
Fix SC2164
2018-10-04 23:10:42 +02:00
Jonas Weber
a6fdf4255a
Fix SC2069 (wrong stdout/stderr redirect order)
...
In the original order, stderr was connected to the old stdout
(terminal). This was _probably_ not intended. The new order fixes this
by first connecting stdout to /dev/null and then attaching stderr to
that as well.
2018-10-04 22:04:24 +02:00
Jonas Weber
ae7ccc5995
Fix SC2086 on all scripts
...
Relevant documentation: https://github.com/koalaman/shellcheck/wiki/SC2086
relates to: #540
This commit addresses 241 separate cases of missing quotes around
variables.
2018-10-04 19:45:22 +02:00
085b2a2b10
remove set -e
on explorers (they should be able to fail gracefully)
2018-10-04 17:38:39 +02:00
a46da35bbc
fix SC2148 (missing shebang) and make executable
2018-10-04 17:38:38 +02:00
134c84607f
fix another SC2166 (test [ .. -a.. ]
replaced by [ .. ] && ]
)
2018-10-04 12:28:59 +02:00
Darko Poljak
44acfcdd12
Fix SC2002
2018-10-03 14:12:07 +02:00
Darko Poljak
5ed95ce93b
Fix SC2005
2018-10-02 20:22:44 +02:00
Adam Dej
c2f8c7abb3
Add explorer for info in /etc/os-release
2018-09-07 11:38:49 +02:00
b695e82bec
FreeBSD improvements ( #651 )
2018-03-26 08:53:31 +02:00
uqam-fob
3b6a471119
explorer/memory: Support OpenBSD ( #602 )
...
Adds support to detect the amount of memory available on OpenBSD
systems.
2017-11-15 07:31:17 +01:00
da8f6efafc
fix explorer/os for devuan ascii ( #588 )
2017-10-20 18:16:06 +02:00
Sven Wick
ed55d01b35
Update machine_type ( #564 )
...
detect kvm on proxmox
2017-09-01 20:56:48 +02:00
Darko Poljak
c6d00019a8
Merge pull request #556 from uqam-fob/explorer-init-pgrep
...
explorer/init/Linux: use pgrep instead of ps
2017-08-25 11:31:42 +02:00
Philippe Grégoire
ebe0c0d66d
make sure we continue on errors
2017-08-20 11:12:30 -04:00
Philippe Grégoire
5646a66f6c
explorer/init/Linux: replace ps by pgrep
...
BusyBox's version of ps does not support the -o option.
On Linux systems, use pgrep -P0 -l to get the name of
pid 1.
2017-08-20 11:06:07 -04:00
Philippe Grégoire
2b9bf3de24
replace grep+sed by awk
2017-08-19 18:19:17 -04:00
Philippe Grégoire
e88e9c357f
fix formatting
2017-08-19 16:49:19 -04:00
Philippe Grégoire
69c6de9f9c
explorer/os: get ID from /etc/os-release
...
/etc/os-release was introduced by systemd[1] and is now
more and more common; even on systems without systemd (e.g. lede).
In addition to detecting the OS based on specific attributes,
this file provides the ID marker to describe the OS.
This commit adds support for OS detection via /etc/os-release.
According to [2], it is already lowercase.
[1] http://0pointer.de/blog/projects/os-release
[2] https://www.freedesktop.org/software/systemd/man/os-release.html
2017-08-19 16:41:50 -04:00
21a29ab5aa
add __go_get, __golang_from_vendor
2017-05-04 17:46:20 +02:00
Darko Poljak
cca6693b2e
Merge install feature from 4.0-pre-not-stable.
2016-10-13 21:16:59 +02:00
Daniel Heule
bee5593570
use /etc/os-release instead of /etc/SuSE-release
2016-10-04 11:29:48 +02:00
1875bce52e
Add support for guixsd into os explorer
2016-09-02 21:33:11 +02:00
Stu Zhao
a6643f0d7f
Explore machine type for virtualbox guest
2016-07-06 18:39:27 -04:00
Stephan Leemburg
9300eda3c6
Add scientific
2016-06-22 13:32:51 +02:00
Stephan Leemburg
98160624a0
Add openvz/lxc discovery
2016-06-22 13:21:10 +02:00
smwltr
1882040a25
Adding suuport for OS Devuan
2016-04-12 12:18:47 +09:00
Daniel Heule
f7de217129
modified the unknown case to empty...
2016-03-25 16:39:48 +01:00
Daniel Heule
9c6d7dbd89
modified the unknown case ...
2016-03-24 11:29:13 +01:00
Daniel Heule
2c49e04c98
Updated the exlorer for more systems
...
changed the ps syntax, so it should work on freebsd to
added a case so it could easy implemented for other os to
2016-03-24 11:22:09 +01:00
Daniel Heule
14f3ee403a
fix fo __start_on_boot for ALL systemd distros
2016-03-23 16:34:57 +01:00
Stephan Leemburg
b03a4f2829
Added Mitel as a redhat derived OS
2016-02-23 12:57:21 +01:00
Stephan Leemburg
37fec8b3b5
Added Mitel as a redhat derived OS
2016-02-23 11:54:08 +01:00
Nico Schottelius
494b6cbbf9
Merge branch 'master' into 4.0-pre-not-stable
2014-12-11 17:13:52 +01:00
Manuel Hutter
981f8068d2
code diet on "memory"
2014-06-21 14:24:10 +02:00
Manuel Hutter
e727824964
cat
and pipe diet
2014-06-18 10:19:21 +02:00
Manuel Hutter
c36fba4b99
Fixed global explorers on OSX
2014-06-17 19:04:22 +02:00