Archived
1
0
This repository has been archived on 2023-11-17. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
linux/bash-script-Flag.sh

18 lines
216 B
Bash

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