Changeset 87
- Timestamp:
- 03/29/07 09:40:41 (17 years ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debian/changelog
r79 r87 1 pxeconfig (0.7.0-3) stable; urgency=low 2 3 * Beter postinst/postrm scripts 4 5 -- Bas van der Vlies <basv@sara.nl> Thu, 29 Mar 2007 09:29:51 +0200 6 7 pxeconfig (0.7.0-2) stable; urgency=low 8 9 * debian/conffiles removed /etc/xinetd.d/pxeconfigd 10 11 -- Bas van der Vlies <basv@sara.nl> Thu, 29 Mar 2007 09:10:57 +0200 12 1 13 pxeconfig (0.7.0-1) stable; urgency=low 2 14 -
trunk/debian/conffiles
r86 r87 1 1 /etc/pxeconfig.conf 2 /etc/xinetd.d/pxeconfig -
trunk/debian/control
r79 r87 11 11 Maintainer: Bas van der Vlies <bas@sara.nl> 12 12 Depends: ${slibs:Depends}, python, cdbs 13 Description: Converts email to a trac ticket 14 Name says it All 13 Description: PXE boot Utilities. 14 With this utilities you can control howto boot a computer with PXE- 15 enabled network cards. -
trunk/debian/postinst
r86 r87 6 6 # $Id$ 7 7 # 8 DAEMON=pxeconfigd 9 PORT=6611 10 11 SHARE_DIR=/usr/share/doc/pxeconfig 12 13 PXE_TEST=`grep $DAEMON /etc/services` 14 15 if [ ! -z "$PXE_TEST" ]; then 16 echo "WARNING: $DAEMON already in /etc/services" 17 else 18 echo -e "$DAEMON\t$PORT/tcp\t\t\t# pxe config daemon\n" >> /etc/services 19 fi 20 8 21 if [ -d /etc/xinetd.d ] 9 22 then 10 cp /usr/share/doc/pxeconfig/examples/pxeconfigd.xinetd /etc/xinetd.d/pxeconfigd 23 if [ ! -r /etc/xinetd.d/$DAEMON ] 24 then 25 cp $SHARE_DIR/examples/pxeconfigd.xinetd /etc/xinetd.d/$DAEMON 26 /etc/init.d/xinetd reload 27 fi 11 28 else 12 /usr/sbin/update-inetd --group OTHER --remove "pxeconfig stream tcp nowait root.sys /usr/sbin/tcpd /usr/sbin/pxeconfigd" 29 /usr/sbin/update-inetd --group OTHER --add "$DAEMON stream tcp nowait root.sys /usr/sbin/tcpd /usr/sbin/$DAEMON" 30 /etc/init.d/inetd reload 13 31 fi -
trunk/debian/postrm
r86 r87 6 6 # $Id$ 7 7 # 8 if [ -d /etc/xinetd.d ] 8 DAEMON=pxeconfigd 9 CONFIG_FILE=/etc/pxeconfig.conf 10 11 if [ "$1" = "purge" ] 9 12 then 10 cp /usr/share/doc/pxeconfig/examples/pxeconfigd.xinetd /etc/xinetd.d/pxeconfigd 11 else 12 /usr/sbin/update-inetd --group OTHER --remove "pxeconfig stream tcp nowait root.sys /usr/sbin/tcpd /usr/sbin/pxeconfigd" 13 fi 13 /bin/rm $CONFIG_FILE 14 15 PXE_TEST=`grep $DAEMON /etc/services` 16 if [ ! -z "$PXE_TEST" ] 17 then 18 TMP_FILE=/tmp/services.$$ 19 grep -v "$DAEMON" /etc/services > $TMP_FILE 20 mv $TMP_FILE /etc/services 21 else 22 echo "WARNING: no $DAEMON in /etc/services to remove" 23 fi 24 25 if [ -d /etc/xinetd.d ] 26 then 27 /bin/rm /etc/xinetd.d/$DAEMON 28 /etc/init.d/xinetd reload 29 else 30 /usr/sbin/update-inetd --group OTHER --remove "$DAEMON stream tcp nowait root.sys /usr/sbin/tcpd /usr/sbin/$DAEMON" 31 /etc/init.d/inetd reload 32 fi 33 fi
Note: See TracChangeset
for help on using the changeset viewer.