freedombone-utils-help 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. #!/bin/bash
  2. #
  3. # .---. . .
  4. # | | |
  5. # |--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
  6. # | | (.-' (.-' ( | ( )| | | | )( )| | (.-'
  7. # ' ' --' --' -' - -' ' ' -' -' -' ' - --'
  8. #
  9. # Freedom in the Cloud
  10. #
  11. # Show help
  12. #
  13. # License
  14. # =======
  15. #
  16. # Copyright (C) 2014-2016 Bob Mottram <bob@robotics.uk.to>
  17. #
  18. # This program is free software: you can redistribute it and/or modify
  19. # it under the terms of the GNU Affero General Public License as published by
  20. # the Free Software Foundation, either version 3 of the License, or
  21. # (at your option) any later version.
  22. #
  23. # This program is distributed in the hope that it will be useful,
  24. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  25. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  26. # GNU Affero General Public License for more details.
  27. #
  28. # You should have received a copy of the GNU Affero General Public License
  29. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  30. function show_help {
  31. echo ''
  32. echo $"${PROJECT_NAME} -c [configuration file]"
  33. echo ''
  34. echo $' -h --help Show help'
  35. echo $' menuconfig Easy interactive installation'
  36. echo $' menuconfig-full Full interactive installation'
  37. echo $' menuconfig-onion Interactive installation for onion-only sites'
  38. echo $' -c --config Installing from a configuration file'
  39. echo $' --bbb Installing on Beaglebone Black'
  40. echo $' -u --user User to install the system as'
  41. echo $' -d --domain Default domain name'
  42. echo $' -s --system System type'
  43. echo $' --ip Static LAN IP address of the system'
  44. echo $' --iprouter LAN IP address of the internet router'
  45. echo $' --ddns Dynamic DNS provider domain'
  46. echo $' --ddnsuser Dynamic DNS provider username'
  47. echo $' --ddnspass Dynamic DNS provider password'
  48. echo ''
  49. echo $' --microblogdomain Microblog domain name'
  50. echo $' --wikidomain Wiki domain name'
  51. echo $' --blogdomain Blog domain name'
  52. echo $' --hubzilladomain Hubzilla domain name'
  53. echo $' --gitdomain Git hosting domain name'
  54. echo $' -t --time Domain used as a TLS time source'
  55. echo $' --ssh ssh port number'
  56. echo $' --list Public mailing list name'
  57. echo $' --cores Number of CPU cores'
  58. echo $' --name Your name'
  59. echo $' --email Your email address'
  60. echo $' --usb Path for the USB drive (eg. /dev/sdb1)'
  61. echo $' --cjdns Enable CJDNS'
  62. echo $' --vpass VoIP server password'
  63. echo $' --vport VoIP server port'
  64. echo $' --ns1 First DNS nameserver'
  65. echo $' --ns2 Second DNS nameserver'
  66. echo $' --repo Debian repository'
  67. echo ''
  68. echo $'system types'
  69. echo '------------'
  70. echo $'This can either be blank if you wish to install the full system,'
  71. echo $"or for more specialised variants you can specify '$VARIANT_MAILBOX', '$VARIANT_CLOUD',"
  72. echo $"'$VARIANT_CHAT', '$VARIANT_SOCIAL', '$VARIANT_MEDIA', '$VARIANT_WRITER', '$VARIANT_DEVELOPER'"
  73. echo $"or '$VARIANT_MESH'."
  74. echo ''
  75. echo $"If you wish to install everything except email then use the '$VARIANT_NONMAILBOX' variaint."
  76. echo ''
  77. exit 0
  78. }
  79. # NOTE: deliberately no exit 0