Last change
on this file since 149 was 30, checked in by bcornec, 20 years ago |
Id property added on files to allow for better conf. management
|
-
Property svn:keywords
set to
Id
|
File size:
403 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 | set -e
|
---|
4 | echo hi > /tmp/NOPAUSE
|
---|
5 | isodir=/tmp/isodir
|
---|
6 | if [ ! "`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
|
---|
13 | else
|
---|
14 | cp $isodir/mondorestore.static /
|
---|
15 | fi
|
---|
16 | echo "Done."
|
---|
17 | /mondorestore.static $1 $2 $3 $4
|
---|
18 | exit $?
|
---|
Note:
See
TracBrowser
for help on using the repository browser.