Displaying 1 result from an estimated 1 matches for "prw1".
Did you mean:
pre1
1998 Sep 08
0
SysV interface script
...nt this one, but.
shift; shift; shift; shift; shift
pw="" # We *must* supply a password
smbclient=/usr/local/samba/bin/smbclient
lptell=/var/spool/lp/bin/lp.tell # Regrettably necessary
ping=/usr/sbin/ping
printer=`basename $0`
#
# Note the use of upper-case names.
#
case $printer in
prw1)
server=wpark1
server1=WPARK1 # SMB name
service='PICKING'
;;
esac
#
# PCs have a distressing tendency to be switched off; let's spare
# ourselves some heartache.
#
$ping $server > /dev/null 2> /dev/null
if [ $? != 0 ]
then
echo "The PC \"$server\&qu...