remove dumppipe when dump was callled, not cpio!
This commit is contained in:
parent
be3d66765a
commit
e769d47da3
|
|
@ -24,7 +24,7 @@
|
||||||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
# SUCH DAMAGE.
|
# SUCH DAMAGE.
|
||||||
#
|
#
|
||||||
# $Id: wega_backup.sh,v 1.3 2006/02/01 19:50:26 olivleh1 Exp $
|
# $Id: wega_backup.sh,v 1.4 2006/02/01 21:22:04 olivleh1 Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
UUENCODE=uuencode
|
UUENCODE=uuencode
|
||||||
|
|
@ -136,6 +136,6 @@ read LALA
|
||||||
set -x
|
set -x
|
||||||
eval "${CMD}" | ${KERMIT} -i -b ${SPEED} -l ${PORT} -p n -a ${ARCHIVE} -s -
|
eval "${CMD}" | ${KERMIT} -i -b ${SPEED} -l ${PORT} -p n -a ${ARCHIVE} -s -
|
||||||
|
|
||||||
if [ "${TYPE}" = "cpio" ] ; then
|
if [ "${TYPE}" = "dump" ] ; then
|
||||||
rm -f /dumppipe.$$
|
rm -f /dumppipe.$$
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue