|
@@ -1007,7 +1007,7 @@ initialise_mesh() {
|
1007
|
1007
|
|
1008
|
1008
|
# User interface for USB drive installs ######################################
|
1009
|
1009
|
|
1010
|
|
-function mesh_client_startup_applications {
|
|
1010
|
+mesh_client_startup_applications() {
|
1011
|
1011
|
if [ ! -d "$rootdir/home/$MY_USERNAME/Desktop" ]; then
|
1012
|
1012
|
mkdir -p "$rootdir/home/$MY_USERNAME/Desktop"
|
1013
|
1013
|
fi
|
|
@@ -1086,7 +1086,7 @@ function mesh_client_startup_applications {
|
1086
|
1086
|
chmod +x "$START_DESKTOP2"
|
1087
|
1087
|
}
|
1088
|
1088
|
|
1089
|
|
-function mesh_desktop_icons {
|
|
1089
|
+mesh_desktop_icons() {
|
1090
|
1090
|
if [ ! -d "$rootdir/home/$MY_USERNAME/Desktop" ]; then
|
1091
|
1091
|
mkdir -p "$rootdir/home/$MY_USERNAME/Desktop"
|
1092
|
1092
|
fi
|
|
@@ -1104,7 +1104,7 @@ function mesh_desktop_icons {
|
1104
|
1104
|
chroot "$rootdir" /bin/chown -R "$MY_USERNAME":"$MY_USERNAME" "/home/$MY_USERNAME/Desktop"
|
1105
|
1105
|
}
|
1106
|
1106
|
|
1107
|
|
-function configure_user_interface {
|
|
1107
|
+configure_user_interface() {
|
1108
|
1108
|
if [[ "$VARIANT" != "meshclient" && "$VARIANT" != "meshusb" && "$VARIANT" != "usb" ]]; then
|
1109
|
1109
|
return
|
1110
|
1110
|
fi
|
|
@@ -1642,7 +1642,7 @@ EOF
|
1642
|
1642
|
# setup_utils
|
1643
|
1643
|
##############################################################################
|
1644
|
1644
|
|
1645
|
|
-function image_install_inadyn {
|
|
1645
|
+image_install_inadyn() {
|
1646
|
1646
|
if [ "$INSTALLING_MESH" ]; then
|
1647
|
1647
|
return
|
1648
|
1648
|
fi
|
|
@@ -1705,7 +1705,7 @@ function image_install_inadyn {
|
1705
|
1705
|
echo "inadyn commit:$INADYN_COMMIT" >> "$rootdir/root/freedombone-completed.txt"
|
1706
|
1706
|
}
|
1707
|
1707
|
|
1708
|
|
-function image_setup_utils {
|
|
1708
|
+image_setup_utils() {
|
1709
|
1709
|
if [ "$INSTALLING_MESH" ]; then
|
1710
|
1710
|
return
|
1711
|
1711
|
fi
|
|
@@ -1893,12 +1893,12 @@ function image_setup_utils {
|
1893
|
1893
|
#sed -i 's|btrfs subvol=@|btrfs defaults,subvol=@,compress=lzo,ssd|g' $rootdir/etc/fstab
|
1894
|
1894
|
}
|
1895
|
1895
|
|
1896
|
|
-function image_install_nodejs {
|
|
1896
|
+image_install_nodejs() {
|
1897
|
1897
|
mesh_install_nodejs
|
1898
|
1898
|
#echo 'install_nodejs' >> ${rootdir}/root/${PROJECT_NAME}-completed.txt
|
1899
|
1899
|
}
|
1900
|
1900
|
|
1901
|
|
-function image_preinstall_repos {
|
|
1901
|
+image_preinstall_repos() {
|
1902
|
1902
|
if [[ "$VARIANT" == "mesh"* ]]; then
|
1903
|
1903
|
return
|
1904
|
1904
|
fi
|