#!/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