1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/domoticz_ynh.git synced 2024-09-03 18:26:17 +02:00

remove armv6

This commit is contained in:
Krakinou 2024-01-20 17:45:43 +01:00
parent e785cb5b64
commit 2e9134c432
3 changed files with 0 additions and 16 deletions

View file

@ -17,10 +17,6 @@ ynh_script_progression --message="Storing installation settings..."
#Will be used in restore script to check that we're restoring on the same OS/Board type
OS=`lowercase \`uname -s\``
mach=`uname -m`
if [ "${mach}" = "armv6l" ]
then
mach="armv7l"
fi
ynh_app_setting_set --app="$app" --key=OS --value="$OS"
ynh_app_setting_set --app="$app" --key=mach --value="$mach"
@ -172,8 +168,6 @@ ynh_add_fail2ban_config --logpath="$log_file" --failregex="^.*Error: Failed logi
#=================================================
ynh_script_progression --message="Configuring permissions..."
#remove the authentication header preventing login from 2023.2 and 11.2.3 onward
ynh_permission_url --permission="main" --auth_header=false
#API & MQTT should stay publicly accessible.
#ynh_permission_create --permission="domoticz_API" --label="api" --url="$domain$api_path" --allowed="visitors" --show_tile="false" --protected="true"

View file

@ -12,10 +12,6 @@ source /usr/share/yunohost/helpers
current_os=`lowercase \`uname -s\``
current_mach=`uname -m`
if [ ${current_mach} = "armv6l" ]
then
current_mach="armv7l"
fi
#=================================================

View file

@ -36,10 +36,6 @@ if [ -z "${OS:+x}" ]; then
fi
if [ -z "${mach:+x}" ]; then
mach=`uname -m`
if [ "${mach}" = "armv6l" ]
then
mach="armv7l"
fi
ynh_app_setting_set --app="$app" --key=mach --value="$mach"
fi
@ -79,8 +75,6 @@ if [ -d "/var/log/$app/$app" ]; then
ynh_secure_remove "/var/log/$app/$app"
fi
#remove the authentication header preventing login from 2023.2 and 11.2.3 onward
ynh_permission_url --permission="main" --auth_header=false
#=================================================
# CREATE DEDICATED USER