forked from obel1x/fedora-OEMDRV
xrdp: check for install befor installing
This commit is contained in:
@@ -12,7 +12,7 @@ if [ "$EUID" -ne 0 ]; then
|
||||
fi
|
||||
|
||||
#Currently xrdp needs X11 - wayland not yet possible
|
||||
dnf install xrdp xorgxrdp plasma-workspace-x11 -y
|
||||
rpm -qa | grep xorgxrdp || dnf install xrdp xorgxrdp plasma-workspace-x11 -y
|
||||
XRDP_SERVICESTATUS=$( systemctl is-enabled xrdp )
|
||||
if [ ${XRDP_SERVICESTATUS} != "enabled" ]; then
|
||||
echo "Enabling XRDP Service and Firewall:"
|
||||
|
||||
Reference in New Issue
Block a user