#!/bin/sh : ${desktop_access_gid:='40000'} : ${sddm_min_uid:='10000'} : ${sddm_max_uid:='19999'} : ${cups_host:='cups'} : ${ublock_whitelist:=''} : ${chrome_flags:=''} sddm_user=sddm cups_conf_dir=/usr/local/etc/cups if [ "${enable_idm:-}" = false ]; then desktop_access_role=operator else ldap_add "cn=${desktop_access_role},${roles_basedn}" < /dev/null 2>&1 < /dev/null || die 'failed to start sddm'