]> gitweb.fluxo.info Git - scripts.git/commitdiff
Moves lpr-ssh scripts to its own repo
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 22 Apr 2017 12:17:14 +0000 (09:17 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 22 Apr 2017 12:17:14 +0000 (09:17 -0300)
lpq-ssh [deleted file]
lpr-ssh [deleted file]
lprm-ssh [deleted file]

diff --git a/lpq-ssh b/lpq-ssh
deleted file mode 100755 (executable)
index 9def1f4..0000000
--- a/lpq-ssh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-#
-# LPQ over SSH.
-#
-
-# Parameters
-BASENAME="`basename $0`"
-SERVER="$1"
-
-# Check
-if [ -z "$1" ]; then
-  echo "usage: $BASENAME <server>"
-  exit 1
-fi
-
-# Proceed
-ssh $SERVER lpq
diff --git a/lpr-ssh b/lpr-ssh
deleted file mode 100755 (executable)
index cf7db82..0000000
--- a/lpr-ssh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-#
-# LPR over SSH.
-#
-
-# Parameters
-BASENAME="`basename $0`"
-SERVER="$1"
-
-# Shift
-shift
-
-# Check
-if [ -z "$1" ]; then
-  echo "usage: $BASENAME <server> <file>"
-  exit 1
-elif [ ! -e "$*" ]; then
-  echo "no such file: $*"
-  exit 1
-fi
-
-# Proceed
-cat "$*" | ssh $SERVER lpr
diff --git a/lprm-ssh b/lprm-ssh
deleted file mode 100755 (executable)
index 53e1905..0000000
--- a/lprm-ssh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-#
-# LPR over SSH.
-#
-
-# Parameters
-BASENAME="`basename $0`"
-SERVER="$1"
-
-# Shift
-shift
-
-# Check
-if [ -z "$1" ]; then
-  echo "usage: $BASENAME <server> <job>"
-  exit 1
-fi
-
-# Proceed
-ssh $SERVER lprm $1