![]() |
|
|
|
|
|||||||
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A comparison of the multi-user facilities in Unix and Microsoft Windows. | nadman123 | UNIX for Dummies Questions & Answers | 2 | 05-09-2008 12:31 AM |
| S-233: Cisco Secure Access Control Server for Windows User-Changeable Password Vulner | iBot | Security Advisories (RSS) | 0 | 03-27-2008 06:10 AM |
| How to find windows user without any password | RPG | Windows & DOS: Issues & Discussions | 0 | 09-05-2007 10:35 PM |
| got a dumb question where do i get AIX 5.3 from | wmccull | AIX | 2 | 09-04-2007 09:01 AM |
| Windows user help...... | cia | UNIX for Dummies Questions & Answers | 1 | 10-11-2001 08:57 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Networking on the MAC is so hard...I hope some can help...
I need to know how to write a UNIX script that will autostart when OS X boots, and that executes this line: route add -net 10.10.10.0 10.10.11.10 255.255.255.0 PLEASE HELP ME WILL Last edited by wbeard6142; 06-21-2005 at 06:00 PM. |
| Forum Sponsor | ||
|
|
|
|||
|
hi
Go to google.com and type the following in the search box, and you can go from there. MAC OS-X unix script boots You can always search for unix scripts for MAC OS-X systems on the web Best of luck to you. Luis |
|
|||
|
I also found this page on the net:
http://www.kernelthread.com/mac/osx/arch_startup.html you will find it very useful. GO TO THE WEB PAGE AND LOOK FOR THE PART THAT SAYS: From here on, the startup becomes user-level: mach_init starts /sbin/init, the traditional BSD init process. init determines the runlevel, and runs /etc/rc.boot, which sets up the machine enough to run single-user. During its execution, rc.boot and the other rc scripts source /etc/rc.common, a shell script containing utility functions, such as CheckForNetwork() (checks if the network is up), GetPID(), purgedir() (deletes directory contents only, not the structure), etc. rc.boot figures out the type of boot (Multi-User, Safe, CD-ROM, Network etc.). In case of a network boot (the sysctl variable kern.netboot will be set to 1 in which case), it runs /etc/rc.netboot with a start argument. /etc/rc.netboot handles various aspects of network booting. For example, it performs network and (if any) local mounts. It also calls /usr/bin/nbst to associate a shadow file with the disk image being used as the root device. The idea is to redirect writes to the shadow file, which hopefully is on local storage. GOOD LUCK AGIAN |
| Thread Tools | |
| Display Modes | |
|
|