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.
15 lines
223 B
15 lines
223 B
4 weeks ago
|
#! /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
|
||
|
|