1 2 3 4 5 6
#!/bin/sh if [ -e /usr/lib/xrdp ]; then if [ -e /etc/init.d/xrdp_control.sh ]; then /etc/init.d/xrdp_control.sh stop fi fi