HEX
Server: Apache/2.4.63 (Unix)
System: Linux TOMS-220NAS 4.4.302+ #86009 SMP Wed Nov 26 18:19:17 CST 2025 x86_64
User: flavio87 (1026)
PHP: 8.3.27
Disabled: NONE
Upload Files
File: //usr/syno/lib/systemd/scripts/pkg-setup-bootup-env.sh
#!/bin/bash
# Copyright (c) 2000-2021 Synology Inc. All rights reserved.

source /usr/syno/lib/systemd/scripts/syno-bootup-type-status-check.sh

BootupType=$(GetBootupType)

/bin/mkdir -p /run/synopkg/ -m 755

case $BootupType in
Migrate|SystemUpdate|NanoUpdate|FreshInstall)
    /bin/touch /run/synopkg/.PkgAutoRepair
    ;;
esac