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
|
@ -0,0 +1,32 @@
|
|||
#!/bin/sh
|
||||
|
||||
##run /usr/lib/cryptobox-cd/configure-cryptobox.sh
|
||||
|
||||
|
||||
##The contents of this script are commented out because this part
|
||||
##isn't yet working. Running the script AFTER startup is complete
|
||||
## seems to result in a working CryptoNAS, but I haven't yet
|
||||
## made the changes necessary to get "configure-cryptobox.sh"
|
||||
## to run in the initramfs context.
|
||||
##
|
||||
## To get an NAS "good enough to play with", uncomment everything with
|
||||
## a single '#' after this point and run it once you get to the root
|
||||
## prompt (use "sudo -s" to get to the root prompt).
|
||||
##
|
||||
echo "Boot-time configuration not implemented; run"
|
||||
echo "/usr/lib/cryptobox-cd/configure-cryptobox.sh as root"
|
||||
#echo "Configuring the CryptoNAS live system..."
|
||||
##if we're doing a release version, call it with "normal, then secure"
|
||||
##disable for now to isolate smbd/nmbd other problems
|
||||
|
||||
#/usr/lib/cryptobox-cd/configure-cryptobox.sh normal
|
||||
|
||||
|
||||
## call it again with argument "secure" if we're building a release
|
||||
|
||||
|
||||
#/sbin/telinit 3
|
||||
|
||||
|
||||
#/etc/init.d/cryptobox-server restart
|
||||
#/etc/init.d/samba restart
|
Loading…
Add table
Add a link
Reference in a new issue