Subject: Re: The new rc.d stuff...
To: Mason Loring Bliss <mason@acheron.middleboro.ma.us>
From: John Nemeth <jnemeth@victoria.tc.ca>
List: current-users
Date: 03/27/2000 21:23:32
On Aug 8, 5:45am, Mason Loring Bliss wrote:
}
} Enclosed are my sshd and atalkd scripts, in case anyone wants random examples
} to peruse, along with my rc.local.conf file. The atalkd script is incomplete
} and would be better off as a series of individual scripts for each requisite
} daemon, but it makes for a good example of how to do "quick and dirty" con-
} versions. The sshd thing should work with either OpenSSH or Datafellows
} without modification, IIRC.
}
} #!/bin/sh
}
} # PROVIDE: atalkd
} # REQUIRE: xdm
Silly question, but why is a filesystem daemon dependent on an X
daemon?
} [snip]
}
} if [ -f /usr/pkg/sbin/timelord ]; then
} /usr/pkg/sbin/timelord; echo -n ' timelord'
} fi
I sure hope this is for providing time to Macs only.
} kill_atalkd()
} {
} echo "Killing afpd processes..."
} ps ax | grep afpd | grep -v grep | awk '{print $1}' | xargs -n 1 kill
} echo "Killing atalkd processes..."
} ps ax | grep atalkd | grep -v grep | awk '{print $1}' | xargs -n 1 kill
} }
Why don't these daemons create /var/run/*.pid files?
}-- End of excerpt from Mason Loring Bliss