blob: cee5cde8772b7e250258745bb4080f718795e159 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/sh
echo
echo "live-config hook: cat"
_FILENAME=""
while [ "${_FILENAME}" != q ]
do
echo
echo -n "Enter filename [q for quit]: "
read _FILENAME
if [ -n "${_FILENAME}" ]
then
echo
echo "Begin: ${_FILENAME}"
echo "--------------------------------------------------------------------------------"
cat "${_FILENAME}"
echo "--------------------------------------------------------------------------------"
echo "End: ${_FILENAME}"
fi
done
|