Added config settings specific to the CryptoNAS v0.3.5 Live CD/Live USB release.

While this configuration should be substantially equivalent to that of the 
official source distribution (cryptonas_0.3.5.tar.gz), it may not be *exactly* the same. 
For the exact build tree used, please see that archive.
This commit is contained in:
frisco 2010-08-09 09:28:33 +00:00
parent bd96dede76
commit cd3145982a
2 changed files with 21 additions and 6 deletions

View file

@ -80,16 +80,16 @@ function configure_normal()
############ webdav ############
#TODO: FIXME: configure port; add webdav link in web frontend
#this mkdir may be redundant with the DAV event script (TODO)
mkdir -p /var/cache/cryptobox-server/settings/misc/apache2_dav.conf.d
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
#mkdir -p /var/cache/cryptobox-server/settings/misc/apache2_dav.conf.d
#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
# CryptoNAS's apache2_dav.conf should already be in /etc/apache2/conf.d
# in SVN.
#Tell apache2 NOT to listen on non-DAV ports
echo "#Leave 80 and 443 open for CryptoNAS's use" > /etc/apache2/ports.conf
echo "Listen 8080" >> /etc/apache2/ports.conf
#echo "#Leave 80 and 443 open for CryptoNAS's use" > /etc/apache2/ports.conf
#echo "Listen 8080" >> /etc/apache2/ports.conf
########### boot up ###########
# turn off creation of "/etc/nologin" (read-only fs)