diff options
Diffstat (limited to 'target/device/Atmel/atstk1005/target_skeleton/etc/init.d')
-rw-r--r-- | target/device/Atmel/atstk1005/target_skeleton/etc/init.d/S99gpio | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/device/Atmel/atstk1005/target_skeleton/etc/init.d/S99gpio b/target/device/Atmel/atstk1005/target_skeleton/etc/init.d/S99gpio index 967761aaf..7c07f2801 100644 --- a/target/device/Atmel/atstk1005/target_skeleton/etc/init.d/S99gpio +++ b/target/device/Atmel/atstk1005/target_skeleton/etc/init.d/S99gpio @@ -8,9 +8,9 @@ fi BOARD=`cat /etc/release | cut -d ' ' -f1` -if [ "${BOARD}" == "" ]; then +if [ "${BOARD}" = "" ]; then echo "none"; -elif [ "${BOARD}" == "NGW" ]; then +elif [ "${BOARD}" = "NGW" ]; then echo "'${BOARD}'" echo -n " boot LED: " @@ -111,7 +111,7 @@ elif [ "${BOARD}" == "NGW" ]; then echo "failed" exit 1 fi -elif [ "${BOARD}" == "STK1000" ]; then # end NGW +elif [ "${BOARD}" = "STK1000" ]; then # end NGW echo "'${BOARD}'" echo -n " switches: " |