Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Restart scripts for system services UNIX
I haven't seen this posted anywhere, but Apple has included several scripts to nicely restart various services (as opposed to using ps and manually kill HUPing the daemons)

They are located in this directory:
/System/Library/SystemConfiguration/Kicker.bundle/Resources/
The scripts are:
restart-AppleTalk
restart-automount
set-hostname
restart-NetInfo
restart-lookupd
The names are self explanatory. Run them as root. Quite useful if you are doing work remotely.
    •    
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[6,133 views]  

Restart scripts for system services | 1 comments | Create New Account
Click here to return to the 'Restart scripts for system services' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
using set-hostname
Authored by: hagbard on Dec 06, '01 08:35:14AM

I just tried the nifty scripts that you talked about, and set-hostname doesn't work, actually it seems that ipconfig bugs out when called with the getoptions parameter, here's what I get:
>ipconfig getoption 192.168.0.12 host_name
ipconfig_get_option failed, (os/kern) failure

any suggestion ?



[ Reply to This | # ]