Skip to content

Commit

Permalink
Improved help text
Browse files Browse the repository at this point in the history
  • Loading branch information
oviserv authored Jan 9, 2022
1 parent 8184083 commit 64f023b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/radiusd/scripts/manageusers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ cd "${CERTSDIR}" || exit 1

if [ "$#" -le 1 ]; then
/usr/bin/printf "Add user: manageusers.sh add <name> <email> <validity in days> <vlan> <password>\n"
/usr/bin/printf "Use \"-\" for default e-mail construction and validity and autogenerated password.\n"
/usr/bin/printf "Use \"-\" for default e-mail construction and validity and autogenerated password.\n"
/usr/bin/printf "No VLAN is assigned when \"-\" is used.\n"
/usr/bin/printf "Example usage: ./manageusers.sh add testpc - - 10 -\n"
/usr/bin/printf "This generates a certificate for user \"testpc\" with default validity,\n"
/usr/bin/printf "and autogenerated password. When connecting via Wifi the host is placed in VLAN 10,\n"
/usr/bin/printf "if the Wifi access point supports it.\n"
/usr/bin/printf "Remove user: manageusers.sh remove <name>\n"
/usr/bin/printf "and autogenerated password. When connecting via Wifi the host is placed\n"
/usr/bin/printf "in VLAN 10, if the Wifi access point supports it.\n"
/usr/bin/printf "Remove user: ./manageusers.sh remove <name>\n"
/usr/bin/printf "Certificate of user is revoked and user is removed from the authorize file.\n"
/usr/bin/printf "WARNING: the script doesn't do any checking. Only happy flow is tested.\n"
exit 1
Expand Down

0 comments on commit 64f023b

Please sign in to comment.