Changeset 1158 in MondoRescue for branches/stable/mindi/rootfs/sbin/start-nfs
- Timestamp:
- Feb 14, 2007, 2:32:50 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/rootfs/sbin/start-nfs
r802 r1158 11 11 12 12 # Get info from config file 13 ipdev=`grep nfs-dev /tmp/mondo-restore.cfg | cut -d' 14 ipaddress=`grep nfs-client-ipaddr /tmp/mondo-restore.cfg | cut -d' 15 ipnetmask=`grep nfs-client-netmask /tmp/mondo-restore.cfg | cut -d' 16 ipbroadcast=`grep nfs-client-broadcast /tmp/mondo-restore.cfg | cut -d' 17 ipgateway=`grep nfs-client-defgw /tmp/mondo-restore.cfg | cut -d' 13 ipdev=`grep nfs-dev /tmp/mondo-restore.cfg | cut -d'=' -f2-` 14 ipaddress=`grep nfs-client-ipaddr /tmp/mondo-restore.cfg | cut -d'=' -f2-` 15 ipnetmask=`grep nfs-client-netmask /tmp/mondo-restore.cfg | cut -d'=' -f2-` 16 ipbroadcast=`grep nfs-client-broadcast /tmp/mondo-restore.cfg | cut -d'=' -f2-` 17 ipgateway=`grep nfs-client-defgw /tmp/mondo-restore.cfg | cut -d'=' -f2-` 18 18 ipconf="" 19 export nfsmount=`grep nfs-server-mount /tmp/mondo-restore.cfg | cut -d' 20 export imgname=`grep iso-prefix /tmp/mondo-restore.cfg | cut -d' 19 export nfsmount=`grep nfs-server-mount /tmp/mondo-restore.cfg | cut -d'=' -f2-` 20 export imgname=`grep iso-prefix /tmp/mondo-restore.cfg | cut -d'=' -f2-` 21 21 if [ "$imgname" = "" ]; then 22 22 export imgname="mondorescue" 23 23 fi 24 export dirimg=`grep nfs-server-path /tmp/mondo-restore.cfg | cut -d' 24 export dirimg=`grep nfs-server-path /tmp/mondo-restore.cfg | cut -d'=' -f2-` 25 25 if [ "$dirimg" = "" ]; then 26 26 export dirimg="/"
Note:
See TracChangeset
for help on using the changeset viewer.