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/cupsd_ExecStartPost.sh
#!/bin/sh
# Copyright (c) 2000-2018 Synology Inc. All rights reserved.

if [ -n "`cat /usr/syno/etc/printer.conf |grep "enable airprint=on"`" -o -n "`cat /usr/syno/etc/printer.conf |grep "enable google cloud print=on"`" ]; then
	/usr/syno/bin/synoprint --upgrade all
fi

/usr/syno/etc/rc.sysv/cupsd.sh poststart

# when start cups need to reload smbd. see Bugs [DSM] #64901
/usr/bin/systemctl reload pkg-synosamba-smbd || true