Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!apo.esiee.fr!bonnetf From: bonnetf@apo.esiee.fr (bonnet-franck) Newsgroups: comp.sys.apollo Subject: netman boot control solution Message-ID: <9102141734.AA07617@apo.esiee.fr> Date: 14 Feb 91 17:34:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 41 Hi, Thanks to all that respond for my netman boot control problem. I've found the solution after posting my request ( sorry ! ) It follows , it has been tested and works fine. -------------- beginning of /sys/net/netman.bin_sh -------------------------- #!/bin/sh -x set -e # # NETMAN.RC - shell script run by netman to setup `node_data for a diskless node # # $1 = NODE_ID # $2 = TYPE # # Set a PATH. We need this later to resolve chown PATH=/bin:/usr/bin:/etc export PATH # # to verify if the node is allowed to boot on this partner # if grep -i $1 /sys/net/diskless_list ; then \ echo Booting $1 else echo Not allowed to boot diskless $1 ;\ exit 1 fi # # -------------- the rest is the std file -------------------------------------- Bye, -------------------------------------------------------------------------------| bonnetf@apo.esiee.fr | | Frank Bonnet | Surfing ... | E.S.I.E.E | | BP99 93162 Noisy le Grand cedex.FRANCE. | the rest is details ! | Fax : 33 1 45 92 66 99 | | -------------------------------------------------------------------------------|