Networksetup -setsearchdomains "Wi-Fi" Networksetup -setsearchdomains "Ethernet 2" Networksetup -setsearchdomains "Ethernet 1" VMac=`system_profiler SPHardwareDataType | awk '/Model Name:/ '` OS=`sw_vers | grep ProductVersion | cut -c 17-20` Note that I have both 10.6 and 10.7 and had to deal with the differences.Hope it gives you some ideas of what you can do. Here is a script I used for setting up dynamic dns at my site.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |