Changeset 45 for trunk/pxeconfig/DEBIAN
- Timestamp:
- 09/03/04 13:40:04 (18 years ago)
- Location:
- trunk/pxeconfig/DEBIAN
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.