summaryrefslogtreecommitdiff
path: root/target/device/Atmel/atngw100
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@anciens.enib.fr>2010-09-20 23:26:07 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-09-30 22:08:56 +0200
commit5c6320f1b550b3607cc4ed42a95811381d31395f (patch)
treef4f4c34308764a2814126be8713722516db454ae /target/device/Atmel/atngw100
parentd12bc6294a37d52150fe14292d4e84d7a70e4861 (diff)
skeleton: fix atstk1005, ststk100x and atngw100 for POSIX compliance
Using two '=' for string comparison is a bashism. Revert to using one, as stated in POSIX 1003.1-2008. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'target/device/Atmel/atngw100')
-rwxr-xr-xtarget/device/Atmel/atngw100/target_skeleton/etc/init.d/S99gpio6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S99gpio b/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S99gpio
index ea077846c..3a1774012 100755
--- a/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S99gpio
+++ b/target/device/Atmel/atngw100/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}" == "NGW100" ]; then
+elif [ "${BOARD}" = "NGW100" ]; then
echo "'${BOARD}'"
echo -n " boot LED: "
@@ -111,7 +111,7 @@ elif [ "${BOARD}" == "NGW100" ]; then
echo "failed"
exit 1
fi
-elif [ "${BOARD}" == "STK1000" ]; then # end NGW100
+elif [ "${BOARD}" = "STK1000" ]; then # end NGW100
echo "'${BOARD}'"
echo -n " switches: "