#!/bin/sh : ${desktop_access_gid:='40000'} : ${sddm_min_uid:='10000'} : ${sddm_max_uid:='19999'} : ${cups_host:='cups'} : ${ublock_whitelist:=''} : ${chrome_flags:=''} : ${digikam_db_users:=''} : ${digikam_db_host:="$mysql_host"} 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' # Create users for digikam db. for user in $digikam_db_users; do mysql_create_user "$digikam_db_host" "$user" gssapi mysql_create_database "$digikam_db_host" digikam "$user" done