"Fossies" - the Fresh Open Source Software archive

Member "hp4laser/hp4laser.start" of archive hp4laser-3.20.tar.gz:


#!/bin/sh

#
#	/usr/local/bin/hp4laser.start - User definable hook
#

#	Turn on laserjet printer using X10 controller. Cancel any pending
#	timeouts that want to shut the printer off.
#

rm -f /tmp/hp4laser.sleep.*	# cancel pending timeouts

/usr/local/bin/x10 11 on	# power up LJ

sleep 5				# give LJ time to shut off on-line signal