From 6690c397be1bd6b5e14ca19b09ecb869ca4f9a58 Mon Sep 17 00:00:00 2001 From: Erez Zadok Date: Mon, 12 May 2014 11:54:20 -0400 Subject: [PATCH] allow user to pass RMTAB file name from environment --- scripts/fixrmtab.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/fixrmtab.in b/scripts/fixrmtab.in index 1289bc0b..a1fbebf6 100755 --- a/scripts/fixrmtab.in +++ b/scripts/fixrmtab.in @@ -10,7 +10,11 @@ #set -x -RMTAB=/etc/rmtab +# allow user to pass RMTAB file name from environment +if test -z "${RMTAB}" ; then + RMTAB=/etc/rmtab +fi + if [ ! -f "$RMTAB" ]; then exit 0 fi -- 2.34.1