Commit Graph

77 Commits

Author SHA1 Message Date
Joseph Carter
f256b9a885 Merge pull request #5 from RasppleII/ivanx-docs
Add a lot of documentation from Ivan's website
2015-10-23 17:39:26 -07:00
T. Joseph Carter
d8e6f99642 Add fix tool 2015-10-23 05:12:55 -07:00
T. Joseph Carter
0c5db0ac09 Add a2server-help.txt 2015-10-23 05:09:46 -07:00
T. Joseph Carter
f248c68ab9 Add the rest of the setup scripts 2015-10-23 05:09:22 -07:00
T. Joseph Carter
8baf146f87 Git doesn't like trailing whitespace as a rule
Previously I "fixed" this by deleting the blank lines and Ivan mentioned
the blank lines were intentional.  I noted I should do something like
this to correct it, but didn't.  I'll fix it there later.
2015-10-23 05:05:11 -07:00
T. Joseph Carter
71d20af07c Add cppo 2015-10-23 05:04:29 -07:00
T. Joseph Carter
14f72a6fdc Add netatalk helper scripts 2015-10-23 05:04:04 -07:00
T. Joseph Carter
0ede192740 Add a2server-aliases.txt since it's referenced 2015-10-23 05:02:58 -07:00
T. Joseph Carter
08a2d8ddf1 Add main setup/update scripts 2015-10-23 05:00:18 -07:00
T. Joseph Carter
4e8c5fe86b Correct aliases link (404 on Ivan's page) 2015-10-23 04:57:15 -07:00
T. Joseph Carter
460d09e306 Add version history to ivanx docs 2015-10-23 04:48:08 -07:00
T. Joseph Carter
539bd6d695 Added a2server_wifi.md 2015-10-23 00:42:45 -07:00
T. Joseph Carter
083734a334 Added a2server_virtualbox.md 2015-10-23 00:34:35 -07:00
T. Joseph Carter
11efa8dab2 Added a2server_story.md 2015-10-23 00:28:23 -07:00
T. Joseph Carter
833cd5797a Added a2server_scriptdetails.md 2015-10-23 00:25:53 -07:00
T. Joseph Carter
473e51860a added a2server_recovery.md 2015-10-22 17:00:37 -07:00
T. Joseph Carter
69976328d9 Add a2server_prepvm.md 2015-10-22 16:48:10 -07:00
T. Joseph Carter
65e40c9281 Add a2server_netboot.md 2015-10-22 16:42:03 -07:00
T. Joseph Carter
a10f3773b6 Add a2server_lan.md; this one gave me some trouble 2015-10-22 16:39:26 -07:00
T. Joseph Carter
266c1bf010 Added a2server_installubuntu.md 2015-10-22 16:22:16 -07:00
T. Joseph Carter
35762111c7 Added a2server_installer.md 2015-10-22 16:12:47 -07:00
T. Joseph Carter
a2fdd80be9 Add a2server_howtouse.md 2015-10-22 16:07:10 -07:00
T. Joseph Carter
9a781b9b4a Add a2server_commands.md 2015-10-22 13:00:35 -07:00
T. Joseph Carter
53930d536a Add a2server_access.md 2015-10-22 13:00:24 -07:00
T. Joseph Carter
d0ae16ecb4 Cleanup of all markdown files produced so far 2015-10-22 12:45:46 -07:00
T. Joseph Carter
2704f7b71c Add a2server_raspberrypi_login.md 2015-10-22 12:37:37 -07:00
T. Joseph Carter
b778d56e2e Added a2server_raspberrypi.md 2015-10-22 12:32:01 -07:00
T. Joseph Carter
9ce2300afb Cleaned up a2server_features.md 2015-10-22 12:30:47 -07:00
T. Joseph Carter
1b4e2a3ec6 Fix relative links .html -> .md
There's little reason to render these files as HTML again, and if
they're ever placed on a website, it'd probably be best to do so using a
quick bit of PHP that does the translation on the fly.  I'd suggest an
absolutely trivial stylesheet for each page (more or less akin to the
pre-HTML4 tags that were already present) and perhaps a tiny bit of
script magic that regenerates those tags based on that CSS.  Not a
priority at present.
2015-10-22 12:21:51 -07:00
T. Joseph Carter
1de95084a0 Add a2server_features from Ivan's site 2015-10-22 05:08:03 -07:00
T. Joseph Carter
13587f1306 Put these where they belong 2015-10-22 04:54:36 -07:00
T. Joseph Carter
6eacfc63ab Revert back to upstream state save for docs 2015-10-22 04:53:03 -07:00
T. Joseph Carter
a0cacc4888 Revert "Always output version, and only do it once"
This reverts commit 8caea62d2d.
2015-10-22 04:44:11 -07:00
T. Joseph Carter
a4d9692314 Ivan's main A2SERVER page 2015-10-22 04:13:33 -07:00
T. Joseph Carter
e0eaae3e2f Begin archiving Ivan's documentation 2015-10-22 04:07:05 -07:00
T. Joseph Carter
8caea62d2d Always output version, and only do it once 2015-10-16 20:10:10 -07:00
T. Joseph Carter
23ef0852d2 Missed the update script 2015-10-13 16:31:59 -07:00
T. Joseph Carter
b3189fe14d Finished porting yes/no questions to askYesNo
Didn't touch the Samba workgroup question for now since it's the only
question that asks anything else.  Maybe when this stuff gets refactored
to remove duplication.
2015-10-13 14:56:30 -07:00
T. Joseph Carter
2918a24b45 Improved(?) info text for installing comm software
It seems a little clumsy still, but it's more complete.
2015-10-13 14:45:54 -07:00
T. Joseph Carter
3bca3a12b4 Fix askYesNo function breakage
Paper bag time.  If you redirect stdin and read it, you have no stdin to
answer the question asked.  *facepalm*  What was I thinking?
2015-10-12 16:56:43 -07:00
T. Joseph Carter
3af93d72ae Typo fix 2015-10-12 15:49:49 -07:00
T. Joseph Carter
f7e937ea22 TEST: Force current Unarchiver to be installed
Must compile from source
2015-10-12 15:44:21 -07:00
T. Joseph Carter
847932886a Do apt-get install only once
The Raspberry Pi takes awhile to run any operation involving apt-get.
As such, we should condense apt-get commands as much as possible.
2015-10-12 15:34:57 -07:00
T. Joseph Carter
c7800207f3 Merge branch 'master' of https://github.com/rasppleii/a2server 2015-10-12 15:25:50 -07:00
T. Joseph Carter
a8af3aaba9 Towards using askYesNo everywhere
Need to stop where I am to merge bugfixes from upstream.  :)
2015-10-12 15:24:07 -07:00
T. Joseph Carter
dda5694dca More overzealous ${scriptURL} fixing 2015-10-12 12:30:17 -07:00
T. Joseph Carter
a9648d52a4 Fix an ivanx.com that should be hardcoded
Overzealous replacement of hardcoded ivanx.com with script variable.
The A2CLOUD disk image should be downloaded right off Ivan's server
because we don't have it in the git repository.
2015-10-12 05:51:16 -07:00
T. Joseph Carter
63d4ce2b51 Make askYesNo use a here document for info text
The info text for askYesNo was a problem.  First, it involved a long,
complex, paragraph encoded as string on the command line.  That's NEVER
a good idea.  Secondly, it passed that string unprocessed to printf
(albeit printf(1) but still) as a format string.  And third, there's no
way to manage line length when you're doing that.

The alternative is to put the strings in a here document.  We then cat
the result between a couple of empty echo commands to create the
original output.  This addresses all of the above issues, but creates a
new one: The info text follows the prompt, rather than the other way
around.  Not the most elegant.

So … why do this at all, why not just echo the info text outside of the
function, particularly since the function only echoes it once no matter
how many times you give a bogus answer?  Well, if at some point we
decide to implement a dialog-type interface (whiptail, zenity, whatever
you prefer), then it becomes easy to do so.  Unsure that's desirable at
this time, but options are good.
2015-10-12 02:59:42 -07:00
T. Joseph Carter
029c7eceb1 Merge branch 'master' of https://github.com/rasppleii/a2server 2015-10-12 02:39:59 -07:00
T. Joseph Carter
14b962f48d Fix to match Ivan's path for versionhistory.txt
This file really belongs in the A2SERVER root where people looking at
this tree can most easily find it, but for now it's more important to
follow the layout on Ivan's server.  Putting it in the root was a
mistake on my part in my initial upload because "of course".  Corrected!
2015-10-12 02:34:51 -07:00