From 7a69990b01cc7f9d25e6fcfc8076bd96154f980c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 10 Mar 2017 08:30:56 -0300 Subject: Adds lpq-ssh --- lpq-ssh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 lpq-ssh diff --git a/lpq-ssh b/lpq-ssh new file mode 100755 index 0000000..9def1f4 --- /dev/null +++ b/lpq-ssh @@ -0,0 +1,17 @@ +#!/bin/bash +# +# LPQ over SSH. +# + +# Parameters +BASENAME="`basename $0`" +SERVER="$1" + +# Check +if [ -z "$1" ]; then + echo "usage: $BASENAME " + exit 1 +fi + +# Proceed +ssh $SERVER lpq -- cgit v1.2.3