MRTG kills post boot Scripts!!

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

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #41624

    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


    Found the Soultion it’s really a BUG !

    The Script :
    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.