My whole Script is currently this:
#!/bin/sh clear; blanko=\"\"; # Dummy-Variablen variable=Testvariable; if [[$variable == $blanko]]; then
Just use #!/bin/bash on tope of script if you are using bash scripting like: if [[ $partition == "/dev/sda2" ]]; then to compare string and run script with ./scriptname.sh or bash scriptname.sh
#!/bin/bash
if [[ $partition == "/dev/sda2" ]]; then
./scriptname.sh
bash scriptname.sh