Changeset 27355 in vbox for trunk/src/VBox/Installer/solaris
- Timestamp:
- Mar 15, 2010 12:23:08 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 58794
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/solaris/vboxconfig.sh
r27317 r27355 479 479 nmaskbackupfile=$nmaskfile.vbox 480 480 if test -f "$nmaskfile"; then 481 sed -e '/ VirtualBox_SectionStart_DoNotEdit/,/VirtualBox_SectionEnd_DoNotEdit/d' $nmaskfile > $nmaskbackupfile481 sed -e '/#VirtualBox_SectionStart/,/#VirtualBox_SectionEnd/d' $nmaskfile > $nmaskbackupfile 482 482 mv -f $nmaskbackupfile $nmaskfile 483 483 fi … … 596 596 inst=0 597 597 networkn=56 598 while test $inst -ne $MOD_VBOXNET_INST; do598 while test $inst -ne 1; do 599 599 echo "vboxnet$inst static 192.168.$networkn.1" >> $nwambackupfile 600 600 inst=`expr $inst + 1` … … 612 612 nmaskfile=/etc/netmasks 613 613 nmaskbackupfile=$nmaskfile.vbox 614 networkn=56 614 615 if test -f $nmaskfile; then 615 sed -e '/VirtualBox_SectionStart_DoNotEdit/,/VirtualBox_SectionEnd_DoNotEdit/d' $nmaskfile > $nmaskbackupfile 616 echo "VirtualBox_SectionStart_DoNotEdit" >> $nmaskbackupfile 617 echo "192.168.$networkn.0 255.255.255.0" >> $nmaskbackupfile 618 echo "VirtualBox_SectionEnd_DoNotEdit" >> $nmaskbackupfile 616 sed -e '/#VirtualBox_SectionStart,/#VirtualBox_SectionEnd/d' $nmaskfile > $nmaskbackupfile 617 echo "#VirtualBox_SectionStart" >> $nmaskbackupfile 618 inst=0 619 networkn=56 620 while test $inst -ne 1; do 621 echo "192.168.$networkn.0 255.255.255.0" >> $nmaskbackupfile 622 inst=`expr $inst + 1` 623 networkn=`expr $networkn + 1` 624 done 625 echo "#VirtualBox_SectionEnd" >> $nmaskbackupfile 619 626 mv -f $nmaskbackupfile $nmaskfile 620 627 fi
Note:
See TracChangeset
for help on using the changeset viewer.