| Server IP : 193.86.120.172 / Your IP : 216.73.216.67 Web Server : Apache/2.4.63 (Unix) System : Linux JServices 3.10.108 #86003 SMP Wed Oct 22 13:20:46 CST 2025 x86_64 User : kubec ( 1026) PHP Version : 8.2.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/packages/VPNCenter/WIZARD_UIFILES/ |
Upload File : |
#!/bin/sh
# Copyright (c) 2000-2020 Synology Inc. All rights reserved.
FILES_TO_REMOVE=("Usuń bazę danych VPN Server") # add more entries if needed
UNINSTALL_WIZARD_KEEP_DESCRIPTION=""
UNINSTALL_WIZARD_KEEP_LABEL="Uwaga"
files_to_remove_list=""
if [ ${#FILES_TO_REMOVE[@]} -ne 0 ]; then
for file in "${FILES_TO_REMOVE[@]}"; do
files_to_remove_list+="<li>$file</li>"
done
fi
files_to_keep_html=""
if [ -n "$UNINSTALL_WIZARD_KEEP_DESCRIPTION" ]; then
files_to_keep_html+="<span class=\\\"syno-pkg-note\\\">$UNINSTALL_WIZARD_KEEP_LABEL</span>: $UNINSTALL_WIZARD_KEEP_DESCRIPTION"
fi
read -r -d '' uninstallPage <<EOF
[{
"step_title": "Uninstall Package",
"items": [{
"desc": "pkgmgr:uninstall_wizard_page_description"
},{
"desc": "<ul class=\"synopkg-ul-list\">$files_to_remove_list</ul>"
},{
"type": "multiselect",
"subitems": [{
"key": "pkgwizard_remove_additional",
"desc": "pkgmgr:uninstall_wizard_confirm_description"
}]
},{
"desc": "$files_to_keep_html"
}]
}]
EOF
/bin/echo "${uninstallPage}" > ${SYNOPKG_TEMP_LOGFILE}
exit 0