Find the answer to your Linux question:
Results 1 to 4 of 4
hi all iam using madrakelinux 10.1 and i want to run a shell script file at the system startup and also while the system is shutdown and at reboot.I have ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2005
    Posts
    2

    startup file


    hi all
    iam using madrakelinux 10.1 and i want to run a shell script file at the system startup and also while the system is shutdown and at reboot.I have few commands that are to be executed while the system startup,shutdown and reboot. How should i do that. Thank you

    regards
    jagadish

  2. #2
    Just Joined!
    Join Date
    Jun 2005
    Location
    UK
    Posts
    34

    Re: startup file

    Quote Originally Posted by surijagadish
    hi all
    iam using madrakelinux 10.1 and i want to run a shell script file at the system startup and also while the system is shutdown and at reboot.I have few commands that are to be executed while the system startup,shutdown and reboot. How should i do that. Thank you

    regards
    jagadish
    Hi, Not really sure what it is you are after but kshutdown might be what you are looking for. If you have the repositories setup correctly then all you need to do is a
    Code:
    urpmi kshutdown
    as root of course.. then run the proggie & see if its for you..

    HTH

  3. #3
    Just Joined!
    Join Date
    Dec 2005
    Posts
    2

    more clarification

    hi

    i have a file named script1.sh it has some shell commands like launch kmail
    etc and i want this file to be to be executed when the system boots that is it should be a startup file for the system.

    i think u got my point.

    thanku

    regards
    jagadish

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jun 2005
    Location
    UK
    Posts
    34

    Re: more clarification

    Quote Originally Posted by surijagadish
    hi

    i have a file named script1.sh it has some shell commands like launch kmail
    etc and i want this file to be to be executed when the system boots that is it should be a startup file for the system.

    i think u got my point.

    thanku

    regards
    jagadish
    Sure.. for this I also have startup scripts (starting LinNeighborhood etc..) I have put all the files into my home folder
    Code:
    /home/user1/.kde/Autostart
    This will initiate the files on KDE startup..

    HTH

Posting Permissions

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