source: MondoRescue/trunk/mindi/rootfs/sbin/hugo-nfs@ 1

Last change on this file since 1 was 1, checked in by bcornec, 19 years ago

Initial import from latest mondo-2.04_cvs_20050503/mindi-1.04_cvs_20050503 on http://www.mondorescue.org

File size: 403 bytes
RevLine 
[1]1#!/bin/sh
2
3set -e
4echo hi > /tmp/NOPAUSE
5isodir=/tmp/isodir
6if [ ! "`mount | grep $isodir`" ] ; then
7 ifconfig eth0 192.168.0.33
8 echo -en "Mounting NFS..."
9 mkdir -p $isodir
10 mount 192.168.0.2:/home/mondostuff $isodir -t nfs -o async
11 cp $isodir/mondorestore.static /
12# umount $isodir
13else
14 cp $isodir/mondorestore.static /
15fi
16echo "Done."
17/mondorestore.static $1 $2 $3 $4
18exit $?
Note: See TracBrowser for help on using the repository browser.