initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#!/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;
|
||||
Reference in New Issue
Block a user