Ignore:
Timestamp:
09/03/04 13:40:04 (18 years ago)
Author:
bas
Message:

update version info for:

  • pxeconfig, pxeconfigd and control

postinst:

  • Fixed an bug two entries for xinetd.d

Authors:

  • Added Ramon Bastiaans

INSTALL:

  • update info for xinetd
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pxeconfig/DEBIAN/postinst

    r44 r45  
    1212fi
    1313
    14 if [ -d /etc/xinetd.d ] && [ ! -r /etc/xinetd.d/pxe ]
     14if [ -d /etc/xinetd.d ] && [ ! -r /etc/xinetd.d/$DAEMON ]
    1515  then
    16     cat <<EOF >/etc/xinetd.d/pxe
    17 service beo_pxeconfigd
     16    cat <<EOF >/etc/xinetd.d/$DAEMON
     17service $DAEMON
    1818{
    1919        disable         = no
     
    2323        group           = sys
    2424        wait            = no
    25         server          = /usr/sbin/beo_pxeconfigd
     25        server          = /usr/sbin/$DAEMON
    2626}
    2727EOF
    2828
    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/pxe
    3029    /etc/init.d/xinetd reload
    3130fi
Note: See TracChangeset for help on using the changeset viewer.