Consistent function style
This commit is contained in:
parent
d1dce3d3d7
commit
bbf1b9461d
|
@ -1007,7 +1007,7 @@ initialise_mesh() {
|
|||
|
||||
# User interface for USB drive installs ######################################
|
||||
|
||||
function mesh_client_startup_applications {
|
||||
mesh_client_startup_applications() {
|
||||
if [ ! -d "$rootdir/home/$MY_USERNAME/Desktop" ]; then
|
||||
mkdir -p "$rootdir/home/$MY_USERNAME/Desktop"
|
||||
fi
|
||||
|
@ -1086,7 +1086,7 @@ function mesh_client_startup_applications {
|
|||
chmod +x "$START_DESKTOP2"
|
||||
}
|
||||
|
||||
function mesh_desktop_icons {
|
||||
mesh_desktop_icons() {
|
||||
if [ ! -d "$rootdir/home/$MY_USERNAME/Desktop" ]; then
|
||||
mkdir -p "$rootdir/home/$MY_USERNAME/Desktop"
|
||||
fi
|
||||
|
@ -1104,7 +1104,7 @@ function mesh_desktop_icons {
|
|||
chroot "$rootdir" /bin/chown -R "$MY_USERNAME":"$MY_USERNAME" "/home/$MY_USERNAME/Desktop"
|
||||
}
|
||||
|
||||
function configure_user_interface {
|
||||
configure_user_interface() {
|
||||
if [[ "$VARIANT" != "meshclient" && "$VARIANT" != "meshusb" && "$VARIANT" != "usb" ]]; then
|
||||
return
|
||||
fi
|
||||
|
@ -1642,7 +1642,7 @@ EOF
|
|||
# setup_utils
|
||||
##############################################################################
|
||||
|
||||
function image_install_inadyn {
|
||||
image_install_inadyn() {
|
||||
if [ "$INSTALLING_MESH" ]; then
|
||||
return
|
||||
fi
|
||||
|
@ -1705,7 +1705,7 @@ function image_install_inadyn {
|
|||
echo "inadyn commit:$INADYN_COMMIT" >> "$rootdir/root/freedombone-completed.txt"
|
||||
}
|
||||
|
||||
function image_setup_utils {
|
||||
image_setup_utils() {
|
||||
if [ "$INSTALLING_MESH" ]; then
|
||||
return
|
||||
fi
|
||||
|
@ -1893,12 +1893,12 @@ function image_setup_utils {
|
|||
#sed -i 's|btrfs subvol=@|btrfs defaults,subvol=@,compress=lzo,ssd|g' $rootdir/etc/fstab
|
||||
}
|
||||
|
||||
function image_install_nodejs {
|
||||
image_install_nodejs() {
|
||||
mesh_install_nodejs
|
||||
#echo 'install_nodejs' >> ${rootdir}/root/${PROJECT_NAME}-completed.txt
|
||||
}
|
||||
|
||||
function image_preinstall_repos {
|
||||
image_preinstall_repos() {
|
||||
if [[ "$VARIANT" == "mesh"* ]]; then
|
||||
return
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue