[vox-tech] ssh host key generation in init script

Orson Jones orson.lugod at afriskito.net
Thu Dec 24 20:36:40 PST 2009


The easy way to fix it is to change the first line from
#!/bin/sh
to
#!/bin/bash

And it will work on any system with bash installed. Almost all linux
distros have bash installed. (Including ubuntu)  Dash is a faster, but
more limited shell but is still sh compliant. If you aren't worried
about speed you can still use bash without any trouble.

Orson


More information about the vox-tech mailing list