Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • try to correct the indent. its likely that you'll find the error while doing this.
    – hek2mgl
    Commented Feb 28, 2013 at 5:11
  • Some style corrections besides the actual error: don't use ; at the end of lines in shell scripts, and use elif instead of else if (and also remove the extra fis). Also, is there any reason you're running your sudo commands in subshells (with parentheses)? Commented Feb 28, 2013 at 6:14