`[ ! "$firstchar" = '/' -a ! "$firstchar" = '.' ]`

!= is a bashism

Even better, you can drop the firstchar entirely and do the following:
`[ "${1#[/.]}" = "$1" ]`
which is more consistent with the rest of crouton anyway.