wmaillard / shellinabox

Automatically exported from code.google.com/p/shellinabox
Other
0 stars 0 forks source link

How to add arguments? #134

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I tried adding arguments to the end of /etc/default/shellinabox, like this:

SHELLINABOX_ARGS=--localhost-only
SHELLINABOX_ARGS=--disable-ssl

..but they did not seem to work.

I also tried..

SHELLINABOX_ARGS=--localhost-only --disable-ssl

..which did not seem to work either.

I have added them successfully to /etc/init.d/shellinabox, but how does one add 
them to /etc/default/shellinabox instead?

Original issue reported on code.google.com by gomez...@gmail.com on 29 Aug 2011 at 7:36

GoogleCodeExporter commented 8 years ago
You need to quote the string if it contains whitespace:

SHELLINABOX_ARGS="--localhost-only --disable-ssl"

Original comment by hinrik....@gmail.com on 30 Nov 2011 at 2:59

GoogleCodeExporter commented 8 years ago
Default file updated to make this more clear.  For 2.11.

Original comment by beewoo...@gmail.com on 31 Mar 2012 at 10:42

GoogleCodeExporter commented 8 years ago

Original comment by beewoo...@gmail.com on 31 Mar 2012 at 10:44