summaryrefslogtreecommitdiffstats
path: root/ax25/axspawn.conf.5
diff options
context:
space:
mode:
authorThomas Osterried <ax25@x-berg.in-berlin.de>2014-01-16 10:39:17 +0100
committerRalf Baechle <ralf@linux-mips.org>2015-05-01 23:52:47 +0200
commitc57db66cb020c01e848f96614998983c8c81ce96 (patch)
treec84a646071941287adee1c16a6e927da0aa7705d /ax25/axspawn.conf.5
parent0f7448fd5b4349f5186470bc28e972f75efd05e8 (diff)
Provide defaults for user_shell if unset.
The user_shell config variable is optional. If not specified, /bin/bash is used. Except: if create_with_useradd is configured and there's a config file /etc/default/useradd, then it's not passed to useradd in order to let the user choose. Signed-off-by: Thomas Osterried <ax25@x-berg.in-berlin.de>
Diffstat (limited to 'ax25/axspawn.conf.5')
-rw-r--r--ax25/axspawn.conf.56
1 files changed, 5 insertions, 1 deletions
diff --git a/ax25/axspawn.conf.5 b/ax25/axspawn.conf.5
index cb33d9a..8b2e64b 100644
--- a/ax25/axspawn.conf.5
+++ b/ax25/axspawn.conf.5
@@ -79,7 +79,11 @@ home /home/hams
.br
#
.br
-# user's shell
+# user's shell (if not configured, it's /bin/bash, or if
+.br
+# create_with_useradd is set, useradd uses the shell
+.br
+# configured in /etc/default/useradd).
.br
shell /bin/bash
.br