Add Archlinux "distribution" fact

This commit is contained in:
Thomas Jost 2013-09-12 11:55:08 +02:00
parent d2bf244eb8
commit dfb10e646e

3
library/system/setup Normal file → Executable file
View file

@ -115,7 +115,8 @@ class Facts(object):
'/etc/openwrt_release': 'OpenWrt',
'/etc/system-release': 'OtherLinux',
'/etc/alpine-release': 'Alpine',
'/etc/release': 'Solaris' }
'/etc/release': 'Solaris',
'/etc/arch-release': 'Archlinux' }
SELINUX_MODE_DICT = { 1: 'enforcing', 0: 'permissive', -1: 'disabled' }
# A list of dicts. If there is a platform with more than one