#!/bin/bash userId=`id -u` if [[ $userId = "0" ]]; then echo "[!!!] ERROR: Commander should not be run as ROOT" else export LD_LIBRARY_PATH=lib64-linux/lib/ if [ -z "$1" ]; then echo "[+] Running Commander. No stylesheets provided" ./lib64-linux/commander else echo "[+] Using $1 as stylesheet" ./lib64-linux/commander $1 fi; fi;