cryptonas-livecd/config/chroot_local-includes/etc/initramfs-tools/scripts/init-bottom/80-cn-run-config-script.sh
frisco 652c10720d 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.
2008-06-10 02:36:38 +00:00

32 lines
1 KiB
Bash
Executable file

#!/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