33 lines
1 KiB
Bash
33 lines
1 KiB
Bash
|
#!/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
|