Re: aggravating startup script

From: ace (nunya_at_nowhere.net)
Date: 12/07/04

  • Next message: Bit Twister: "Re: aggravating startup script"
    Date: Mon, 6 Dec 2004 22:31:36 -0500
    
    

    > You might try the following
    >
    > cp /usr/bin/uagent /usr/bin/uagent_orig
    > then go through uagent and put
    > echo "line xxx" >> /tmp/logit
    > throughout the code bumping xxx to a new number for each line, then
    >
    > service uagent stop
    > cp /dev/null /tmp/logit
    > service uagent start
    > cp /tmp/logit /root
    > service uagent stop
    > cp /dev/null /tmp/logit
    > shutsown -r now
    >
    > diff /root/logit /tmp/logit
    >

    Okay, I'll try that. What exactly does the line cp /dev/null /tmp/logit do?


  • Next message: Bit Twister: "Re: aggravating startup script"

    Relevant Pages

    • Re: aggravating startup script
      ... > then go through uagent and put ... > throughout the code bumping xxx to a new number for each line, ... > service uagent start ... > shutsown -r now ...
      (alt.os.linux)
    • Re: aggravating startup script
      ... >> then go through uagent and put ... >> throughout the code bumping xxx to a new number for each line, ... >> service uagent start ... I wanted an empty /tmp/logit ...
      (linux.redhat)
    • Re: aggravating startup script
      ... >> then go through uagent and put ... >> throughout the code bumping xxx to a new number for each line, ... >> service uagent start ... I wanted an empty /tmp/logit ...
      (alt.os.linux)