Results 1 to 3 of 3

Thread: rc.local (linux-kubuntu)

  1. #1

    Default rc.local (linux-kubuntu)

    How would I go about adding commands to the rc.local file? The command I want to add is "synclient MaxTapTime=0", which disables tapping on the laptop's touchpad. Here's what the file currently looks like...

    Code:
    #! /bin/sh
    
    PATH=/sbin:/bin:/usr/sbin:/usr/bin
    [ -f /etc/default/rcS ] && . /etc/default/rcS
    . /lib/lsb/init-functions
    
    do_start() {
        if [ -x /etc/rc.local ]; then
            log_begin_msg "Running local boot scripts (/etc/rc.local)"
            /etc/rc.local
            log_end_msg $?
        fi
    }
    
    case "$1" in
        start)
        do_start
            ;;
        restart|reload|force-reload)
            echo "Error: argument '$1' not supported" >&2
            exit 3
            ;;
        stop)
            ;;
        *)
            echo "Usage: $0 start|stop" >&2
            exit 3
            ;;
    esac
    Where would I put the command I want it to run at startup?

  2. #2
    Join Date
    Apr 2006
    Location
    Chicago
    Posts
    13,377

     

    Hi octopussy,

    What's the path for the file you posted above? I don't think it's /etc/rc.local, is it?
    Mahmoud Al-Qudsi, Director



    I'm sorry but I do not accept support requests via IM, email, or personal messages

    Follow us on twitter @neosmart or on Facebook!
    Like us on facebook!

  3. #3

     

    The path is /etc/init.d/rc.local. I want the system to do "synclient MaxTapTime=0" at login or startup, that's all.

Similar Threads

  1. XP, Kubuntu and Windows 7
    By EAponte23 in forum General PC Help Center
    Replies: 1
    Last Post: October 1st, 2009, 07:13 AM
  2. Kubuntu
    By lagaile in forum EasyBCD Support
    Replies: 1
    Last Post: May 7th, 2008, 12:43 PM
  3. I cant format a local disc
    By Daniel Rodgers in forum Windows Support
    Replies: 2
    Last Post: April 4th, 2008, 10:02 AM
  4. Can't seem to boot Kubuntu
    By Krono in forum EasyBCD Support
    Replies: 9
    Last Post: October 20th, 2007, 10:00 AM
  5. Dual Boot Vista and Kubuntu 6.10 Linux
    By mrhammad in forum EasyBCD Support
    Replies: 2
    Last Post: May 14th, 2007, 06:53 AM

Posting Permissions

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