PREIN
/bin/sh
if [ "$(systemctl is-active cups.service)" != "active" ]; then systemctl start cups sleep 2 fi
PREUN
/bin/sh
lpadmin -x "Boomaga"
POSTIN
/bin/sh
if [ $1 = 1 ]; then sh /usr/share/boomaga/scripts/installPrinter.sh fi
/bin/sh
if [ "$(systemctl is-active cups.service)" != "active" ]; then systemctl start cups sleep 2 fi
/bin/sh
lpadmin -x "Boomaga"
/bin/sh
if [ $1 = 1 ]; then sh /usr/share/boomaga/scripts/installPrinter.sh fi