Add Archlinux "distribution" fact

This commit is contained in:
Thomas Jost 2013-09-12 11:55:08 +02:00
parent ff3ffd21b4
commit 725dd43fca

3
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