Changeset 45
- Timestamp:
- 09/03/04 13:40:04 (19 years ago)
- Location:
- trunk/pxeconfig
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pxeconfig/AUTHORS
r43 r45 9 9 DEBIAN package utilities 10 10 ======================== 11 Gijs Molenaar <gijs@sara.nl> 11 Gijs Molenaar (initial setup) 12 Ramon Bastiaans (xinetd implementation) -
trunk/pxeconfig/Changelog
r44 r45 1 1 0.4.4 2 - Updated documentation for xinetd support + example config 2 3 - Added support for xinetd in the debian package scripts 4 Implemented by: Ramon Bastiaans 3 5 4 6 0.4.3 -
trunk/pxeconfig/DEBIAN/control
r41 r45 6 6 Depends: python 7 7 Architecture: i386 8 Version: 0.4. 3-18 Version: 0.4.4-1 9 9 Description: utilities to boot computers with PXE-enabled network cards -
trunk/pxeconfig/DEBIAN/postinst
r44 r45 12 12 fi 13 13 14 if [ -d /etc/xinetd.d ] && [ ! -r /etc/xinetd.d/ pxe]14 if [ -d /etc/xinetd.d ] && [ ! -r /etc/xinetd.d/$DAEMON ] 15 15 then 16 cat <<EOF >/etc/xinetd.d/ pxe17 service beo_pxeconfigd16 cat <<EOF >/etc/xinetd.d/$DAEMON 17 service $DAEMON 18 18 { 19 19 disable = no … … 23 23 group = sys 24 24 wait = no 25 server = /usr/sbin/ beo_pxeconfigd25 server = /usr/sbin/$DAEMON 26 26 } 27 27 EOF 28 28 29 echo -e "service $DAEMON\n{\n\tdisable\t\t= no\n\tsocket_type\t= stream\n\tprotocol\t= tcp\n\tuser\t\t= root\n\tgroup\t\t= sys\n\twait\t\t= no\n\tserver\t\t= /usr/sbin/beo_pxeconfigd\n}" > /etc/xinetd.d/pxe30 29 /etc/init.d/xinetd reload 31 30 fi -
trunk/pxeconfig/INSTALL
r41 r45 11 11 pxeconfigd 6611/tcp # pxe config daemon 12 12 13 2) edit '/etc/inetd.conf', eg 14 pxeconfigd stream tcp nowait root.sys /usr/sbin/tcpd \ 15 /usr/sara/sbin/pxeconfigd 13 2) Install the server: 14 a) inetd.conf 15 - edit '/etc/inetd.conf', eg: 16 pxeconfigd stream tcp nowait root.sys /usr/sbin/tcpd \ 17 /usr/sara/sbin/pxeconfigd 16 18 17 NOTE: the pxeconfigd can only be started from inetd!!!19 - /etc/init.d/inetd reload 18 20 19 3) kill -1 `pidof inetd` (Linux) 21 b) xinetd 22 - cp pxeconfigd.xinetd /etc/xinetd.d/pxeconfigd 23 - /etc/init.d/xinetd reload 24 25 NOTE: the pxeconfigd can only be started from inetd or xinetd!!! 26 20 27 21 28 4) You can test it by: -
trunk/pxeconfig/pxeconfig
r42 r45 72 72 START='start' 73 73 END='end' 74 VERSION='0.4. 3'74 VERSION='0.4.4' 75 75 76 76 SHORTOPT_LIST='hVd:n:s:e:f:' -
trunk/pxeconfig/pxeconfigd
r42 r45 60 60 61 61 PXE_CONF_DIR = '/tftpboot/pxelinux.cfg' 62 VERSION = '0.4. 3'62 VERSION = '0.4.4' 63 63 64 64 # Give the current time
Note: See TracChangeset
for help on using the changeset viewer.