#!/bin/sh if ( [ ! -f /etc/inetd.conf ] || !(grep cups-lpd /etc/inetd.conf -q) ) then echo "printer stream tcp nowait lp /opt/lib/cups/daemon/cups-lpd" >>/etc/inetd.conf fi return 1