HEX
Server: Apache/2.4.63 (Unix)
System: Linux Synopilou92 4.4.302+ #72806 SMP Mon Jul 21 23:16:00 CST 2025 x86_64
User: pilou92 (1026)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: //volume1/@appstore/WebStation/feasibility_checks/check_web_package_stop.sh
#!/usr/bin/bash

stop_packages=$1

for package in ${stop_packages//,/ }; do
    /var/packages/WebStation/target/tools/synowebstation --require "${package}"

    if [ $? -eq 1 ]; then
        exit 1
    fi
done

exit 0