diff --git a/inxi b/inxi index bafe201..56ae949 100755 --- a/inxi +++ b/inxi @@ -5933,11 +5933,6 @@ get_init_data() init_type='launchd' # / launchd/ version.plist /etc/launchd.conf # init_version=$( get_program_version 'Launchd' '^Launchd' '4' ) - # missing data: - # http://smarden.org/runit/sv.8.html - elif [[ -e /sbin/runit-init || -e /etc/runit || -n $( type -p sv ) ]];then - init_type='runit' # lower case - # no data on version yet elif [[ -f /etc/inittab ]];then init_type='SysVinit' if type -p strings &>/dev/null;then @@ -5946,6 +5941,11 @@ get_init_data() if [[ -n $strings_init_version ]];then init_version=$( gawk '{print $2}' <<< "$strings_init_version" ) fi + # missing data: + # http://smarden.org/runit/sv.8.html + elif [[ -e /sbin/runit-init || -e /etc/runit || -n $( type -p sv ) ]];then + init_type='runit' # lower case + # no data on version yet # freebsd at least elif [[ -f /etc/ttys ]];then init_type='init (bsd)'