meshusb variant
This commit is contained in:
parent
74c1220da4
commit
201d2cb0ca
Binary file not shown.
|
@ -242,7 +242,7 @@ create_generic_image() {
|
|||
fi
|
||||
|
||||
# Don't install any configuration. This will be a base system
|
||||
if [[ $VARIANT != "mesh" && $VARIANT != "meshclient" ]]; then
|
||||
if [[ $VARIANT != "mesh" && $VARIANT != "meshclient" && $VARIANT != "meshusb" ]]; then
|
||||
CONFIG_FILENAME=
|
||||
else
|
||||
touch $rootdir/root/.initial_mesh_setup
|
||||
|
@ -319,7 +319,7 @@ EOF
|
|||
echo " git pull" >> $rootdir/root/.bashrc
|
||||
echo " make install" >> $rootdir/root/.bashrc
|
||||
|
||||
if [[ $VARIANT != "mesh" && $VARIANT != "meshclient" && $VARIANT != "usb" ]]; then
|
||||
if [[ $VARIANT != "mesh" && $VARIANT != "meshclient" && $VARIANT != "meshusb" && $VARIANT != "usb" ]]; then
|
||||
if [[ $ONION_ONLY == "no" ]]; then
|
||||
if [[ $MINIMAL_INSTALL == "no" ]]; then
|
||||
echo " ${PROJECT_NAME} menuconfig-full" >> $rootdir/root/.bashrc
|
||||
|
@ -340,7 +340,7 @@ EOF
|
|||
echo " touch /root/.remove_${GENERIC_IMAGE_USERNAME}" >> $rootdir/root/.bashrc
|
||||
echo ' shred -zu ~/login.txt' >> $rootdir/root/.bashrc
|
||||
END_MESSAGE1=$'Congratulations!'
|
||||
if [[ $VARIANT != "mesh" && $VARIANT != "meshclient" && $VARIANT != "usb" ]]; then
|
||||
if [[ $VARIANT != "mesh" && $VARIANT != "meshclient" && $VARIANT != "meshusb" && $VARIANT != "usb" ]]; then
|
||||
END_MESSAGE2=$'\nYour system has now installed\n\nThe onion ssh service is at $SSH_ONION_HOSTNAME\n\nPress any key to reboot and begin using it'
|
||||
echo ' SSH_ONION_HOSTNAME=$(cat /var/lib/tor/hidden_service_ssh/hostname)' >> $rootdir/root/.bashrc
|
||||
else
|
||||
|
@ -400,7 +400,7 @@ atheros_wifi() {
|
|||
}
|
||||
|
||||
configure_wifi() {
|
||||
if [[ $VARIANT == "mesh" || $VARIANT == "meshclient" ]]; then
|
||||
if [[ $VARIANT == "mesh" || $VARIANT == "meshclient" || $VARIANT == "meshusb" ]]; then
|
||||
return
|
||||
fi
|
||||
|
||||
|
@ -956,7 +956,7 @@ function mesh_zeronet {
|
|||
}
|
||||
|
||||
initialise_mesh() {
|
||||
if [[ $VARIANT != "mesh" && $VARIANT != "meshclient" ]]; then
|
||||
if [[ $VARIANT != "mesh" && $VARIANT != "meshclient" && $VARIANT != "meshusb" ]]; then
|
||||
return
|
||||
fi
|
||||
if [[ $DEBIAN_INSTALL_ONLY != "no" ]]; then
|
||||
|
@ -1044,7 +1044,7 @@ function install_syncthing {
|
|||
}
|
||||
|
||||
function configure_user_interface {
|
||||
if [[ $VARIANT != "meshclient" && $VARIANT != "usb" ]]; then
|
||||
if [[ $VARIANT != "meshclient" && $VARIANT != "meshusb" && $VARIANT != "usb" ]]; then
|
||||
return
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue