Archived
1
0

'bash-script-Flag.sh' toevoegen

This commit is contained in:
2019-09-14 19:31:29 +00:00
parent 2efbb61cce
commit 36e533ff51

17
bash-script-Flag.sh Normal file
View File

@@ -0,0 +1,17 @@
if [ "$1" != "-l" ]; then
echo "Normal mode"
IMODE=n
fi
if [ "$1" = "-l" ]; then
echo "Legacy mode";
IMODE=l
fi
if [ $IMODE = n ]; then
echo "New Menu"
elif [ $IMODE = l ]; then
echo "Legacy Menu"
fi