#!/bin/bash if test "`id -u`" -ne 0 then echo "You need to run the XAMPP control panel as root!" exit fi cd /opt/lampp/share/xampp-control-panel python xampp-control-panel.py