Devel-CheckOS

 view release on metacpan or  search on metacpan

TODO  view on Meta::CPAN

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Detect different types of MS Windows;
Detect old Linux distros without using os-release
Detect versions of OSes and distros;
Detect other init systems than just systemd;
Detect musl vs glibc
Detect busybox
 
use-devel-assertos should not add itself twice (update, if run a second time)
 
to detect openrc:
 
Gianni says: @DrHyde@fosstodon.org for openrc, you probably get /sbin/openrc-run, and a few lines mentioning /sbin/openrc in /etc/inittab, like:
    si::sysinit:/sbin/openrc sysinit
    rc::bootwait:/sbin/openrc boot
    l0u:0:wait:/sbin/telinit u
    l0:0:wait:/sbin/openrc shutdown



( run in 0.234 second using v1.01-cache-2.11-cpan-2b0bae70ee8 )