use $(( instead of $[
authorHarald Hoyer <harald@redhat.com>
Fri, 6 Mar 2009 13:33:42 +0000 (14:33 +0100)
committerHarald Hoyer <harald@redhat.com>
Fri, 6 Mar 2009 13:33:42 +0000 (14:33 +0100)
modules.d/99base/init

index 33c373b..7ff6e4a 100755 (executable)
@@ -75,7 +75,7 @@ while :; do
     done
     [ "$ROOTFS_MOUNTED" ] && break;
     sleep 1
-    i=$[$i+1]
+    i=$(($i+1))
     [ $i -gt 10 ] && emergency_shell
 done