Disk format, shutdown, restart now work---is anything still broken??
Re-enabled apache2 install; not yet configured properly. Builder is now able to provide /etc/modules and /etc/network/interfaces
This commit is contained in:
parent
9141c377d0
commit
8a9d8a7b57
6 changed files with 62 additions and 16 deletions
|
@ -56,14 +56,26 @@ function configure_normal()
|
|||
# install the samba hook script
|
||||
cp /usr/share/doc/cryptobox-server/event-scripts/samba /etc/cryptobox-server/events.d/samba
|
||||
chmod +x /etc/cryptobox-server/events.d/samba
|
||||
chown root:root /etc
|
||||
|
||||
############ dir perms ########
|
||||
# For security reasons, many CryptoNAS scripts will refuse
|
||||
# to run if their parent directories have unsafe permissions.
|
||||
# The files in config/chroot_local-includes are, by default,
|
||||
# owned by the user who did the SVN checkout. Therefore
|
||||
# reset the important directories there to being owned by root.
|
||||
# Debian Policy specifies that local users and package-created
|
||||
# users have different uid ranges, so the set of files with
|
||||
# unrecognized uid's should be the same as the set of files added
|
||||
# by "config/chroot_local-includes/".
|
||||
# Note that we are doing this at build time, not run time!
|
||||
# Only fix files that are neither setuid nor setgid:
|
||||
chown root:root `find / -xdev -nouser ! -perm -4000 ! -perm -2000`
|
||||
|
||||
############ webdav ############
|
||||
#TODO: FIXME: 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
|
||||
#TODO: FIXME: 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
|
||||
|
||||
|
||||
########### boot up ###########
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue