You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
223 B
14 lines
223 B
#! /usr/bin/bash
|
|
# Datei: mybang
|
|
|
|
echo "0:${0}"
|
|
echo "1:${1}"
|
|
echo "2:${2}"
|
|
|
|
if [[ "${USER}" == "pi" ]]; then
|
|
echo "User pi darf python ausführen."
|
|
python ${1}
|
|
else
|
|
echo "Du darfst kein Python ausführen."
|
|
fi
|
|
|
|
|