Changes required to build CryptoNAS with Debian Live on my system, Debian 4.0r3.
This should be "good enough to play with", but see "80-cn-run-config-script.sh". *The build works *The image should boot OK *Haven't begun work on the validation scripts or hardening *The image currently uses a DHCP-assigned address *If you have a good idea of the best way to add separation of local/default settings the way we were doing with etc-defaults.d, etc-local.d, and so on, send me an email so we can discuss it.
This commit is contained in:
parent
dbc620b26f
commit
652c10720d
10 changed files with 198 additions and 29 deletions
|
@ -63,9 +63,11 @@ function configure_normal()
|
|||
|
||||
############ webdav ############
|
||||
#TODO: add apache2 packages; configure port; add webdav link in web frontend
|
||||
sed -i 's/^NO_START=.*$/NO_START=0/' /etc/default/apache2
|
||||
cp /usr/share/doc/cryptobox-server/event-scripts/apache2_dav /etc/cryptobox-server/events.d/apache2_dav
|
||||
chmod +x /etc/cryptobox-server/events.d/apache2_dav
|
||||
|
||||
#This breaks the build until apache2 is integrated into the package list
|
||||
# sed -i 's/^NO_START=.*$/NO_START=0/' /etc/default/apache2
|
||||
# cp /usr/share/doc/cryptobox-server/event-scripts/apache2_dav /etc/cryptobox-server/events.d/apache2_dav
|
||||
# chmod +x /etc/cryptobox-server/events.d/apache2_dav
|
||||
|
||||
########### boot up ###########
|
||||
# turn off creation of "/etc/nologin" (read-only fs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue