Results 1 to 3 of 3

Thread: Startup script runs at shutdown!

  1. #1
    Join Date
    Jun 2008
    Location
    Dublin, Ireland
    Posts
    298

    Default Startup script runs at shutdown!

    Hi,

    I have a little shell script which I use to connect to my wireless network. I have it set to run at start up... but it also runs at shut down

    Does anyone know how to turn this off?

    /jlar

  2. #2
    Join Date
    Sep 2008
    Location
    Sweden
    Posts
    57

    Default Re: Startup script runs at shutdown!

    What have you done to make it run at start up (boot up)?
    Where does the script reside?
    Can you show us the script?

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,853

    Default Re: Startup script runs at shutdown!

    Quote Originally Posted by eeijlar View Post
    Hi,

    I have a little shell script which I use to connect to my wireless network. I have it set to run at start up... but it also runs at shut down

    Does anyone know how to turn this off?

    /jlar
    You say that you have set it up ... But then it does not what you want so apparently you did NOT set it up correctly. Do you mind telling what you did for this setting up. So we can help you to indicate where it went wrong?

    BTW: You should use /etc/iinit.d/skeleton to find out what to do. And after you have placed your script in the right place, you should use YaST to make it active. And you will see that there has to be a start, stop, restart, etc. part in the script. It is correct that the script is called during shutdown.
    Henk van Velden

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •