Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
generic:mods:addboard [2016/01/28 01:04]
theexpertnoob [To activate the board]
generic:mods:addboard [2018/07/28 12:23] (current)
matthias [And you thought we were done]
Line 17: Line 17:
  
 Now we need to edit the config so we can execute the scripts needed for the new board. Now we need to edit the config so we can execute the scripts needed for the new board.
-<​code>​sudo nano /​opt/​piratebox/​conf/​lighttpd/​lighttpd.conf<​code>​+<​code>​sudo nano /​opt/​piratebox/​conf/​lighttpd/​lighttpd.conf<​/code>
  
 Scroll to about line 85 and duplicate this Scroll to about line 85 and duplicate this
Line 67: Line 67:
 ===== And you thought we were done ===== ===== And you thought we were done =====
 How are your users going to know about this board if you don't have it linked from the main page? How are your users going to know about this board if you don't have it linked from the main page?
-  * sudo nano /​opt/​piratebox/​www/​index.html+<​code>​sudo nano /​opt/​piratebox/​www/content/index.html</​code>​
 add this line after <​li><​a href="/​board/">​Forum</​a></​li>​ add this line after <​li><​a href="/​board/">​Forum</​a></​li>​
 <​code><​li><​a href="/​board2/">​2nd Board</​a></​li></​code>​ <​code><​li><​a href="/​board2/">​2nd Board</​a></​li></​code>​
 save and exit save and exit
-  * sudo nano /​opt/​piratebox/​share/​Shared/HEADER.txt+<​code>​sudo nano /​opt/​piratebox/​src/HEADER.txt</​code>​
 add this line after <​li><​a href="/​board/">​Forum</​a></​li>​ add this line after <​li><​a href="/​board/">​Forum</​a></​li>​
 <​code><​li><​a href="/​board2/">​2nd Board</​a></​li></​code>​ <​code><​li><​a href="/​board2/">​2nd Board</​a></​li></​code>​
-save and exit+save and exit then redistribute the new HEADER.txt with 
 +<​code>​sudo /​opt/​piratebox/​bin/​distribute_files.sh /​opt/​piratebox/​share/​Shared '​true'</​code>​
  
 ==== Done ==== ==== Done ====