MRTG kills post boot Scripts!!

Home Page Forums Network Management Signal a BUG MRTG kills post boot Scripts!!

This topic contains 0 replies, has 0 voices, and was last updated by  Psycho012 9 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #41624

    Psycho012
    Member

    Hello everybody ,

    after installing the patchset with the mrtg features, i can’t use any post boot scripts!
    I installed these script after patching again, (Setup–>Cron/Startup –> Post boot befor install:
    mkdir -p /root/.ssh/
    echo “ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIBYNRYZiQzzoZ/trkqnXoOh1ko+GA8VUlLzx7fajhNjHqS9m40vmicEW6b6C47bVK98NdlYyTLK+DHgp/nYWuiaO/bSZ50uvzxSonSvdM8n7yYwvJMmA6FDr2r0f2+6H8wPX03Gi7HJ6hw7GdIVhMzERweMZft0zM2hrKwo1FoqEw== rsa-key-20090223” >>/root/.ssh/authorized_keys

    Post boot after patching:
    service mrtg start

    i cannot but these old script back! i can save the old scripts but after reboot only these lines are in the
    post boot:
    service mrtg start

    thx for help

    #48004

    Psycho012
    Member

    Found the Soultion it’s really a BUG !

    The Script :
    /DB/_DB.001/opt/1.0/beta11/scripts/C110-20service
    contains in the last line:
    echo “service mrtg start” > /etc/rc.local

    So every boot the POST Boot Crontab will be overwritten with “service mrtg start” ! So only make an # before the line and make your old Postboot Script over the HTTPS Website only important thing :
    Dont forget the service mrtg start line 😉

    Bye PsYcHo012
    Happy easter eggs 😉

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.