diff --git a/src/freedombone-app-friendica b/src/freedombone-app-friendica index d5a8b634..b9034155 100755 --- a/src/freedombone-app-friendica +++ b/src/freedombone-app-friendica @@ -104,11 +104,13 @@ function friendica_channel_directory_server { return fi + CURR_DIR_SERVER=$(cat /var/www/$FRIENDICA_DOMAIN_NAME/htdocs/.htconfig.php | grep directory | awk -F "'" '{print $6}') + data=$(tempfile 2>/dev/null) trap "rm -f $data" 0 1 2 5 15 dialog --title $"Friendica channel directory server" \ --backtitle $"Freedombone Control Panel" \ - --inputbox $"When you click on 'channel directory' this is where Friendica will obtain its list from" 8 60 2>$data + --inputbox $"When you click on 'channel directory' this is where Friendica will obtain its list from" 8 60 "$CURR_DIR_SERVER" 2>$data sel=$? case $sel in 0)