Results 1 to 3 of 3

Thread: Start up script

  1. #1
    Join Date
    May 2008
    Beans
    22

    Start up script

    Dear Ubuntu friends,

    I am using 3 ubuntu systems connected via LAN.. I have 2 Mbps broadband.. So I am using wondershaper (In terminal : "sudo woundershper eth0 1000 1000 ") to limit the speed whenever i need.. I want to setup start the wondershaper when the system boots.. How to do that ?


  2. #2
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    29,809
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Start up script

    Quote Originally Posted by gurulenin View Post
    Dear Ubuntu friends,

    I am using 3 ubuntu systems connected via LAN.. I have 2 Mbps broadband.. So I am using wondershaper (In terminal : "sudo woundershper eth0 1000 1000 ") to limit the speed whenever i need.. I want to setup start the wondershaper when the system boots.. How to do that ?

    Hi, go into startup apps click add put in the name of the app that you want to auto start where the command box is click browse and find the path of the program that you want to start and put it in there then click the add button make sure it has a check by it and then close. If the program that you want to start needs to start after another program first you will have to add a script to delay it from starting about 30 seconds after boot.

  3. #3
    Join Date
    May 2008
    Beans
    22

    Re: Start up script

    Quote Originally Posted by wildmanne39 View Post
    Hi, go into startup apps click add put in the name of the app that you want to auto start where the command box is click browse and find the path of the program that you want to start and put it in there then click the add button make sure it has a check by it and then close. If the program that you want to start needs to start after another program first you will have to add a script to delay it from starting about 30 seconds after boot.
    its ok..

    this is the example script..

    #!/bin/bash

    sudo wondershaper eth0 300 300


    here I need root password to run the script.. how to add password to this script..

Tags for this Thread

Bookmarks

Posting Permissions

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