[sf-lug] Adding Scripts to Bash

Rick Moen rick at linuxmafia.com
Wed Jul 6 19:08:10 PDT 2011


I wrote:

> He really wants to add that to his system startup scripts.
> 
> Should suffice to create the following as /etc/rc.local
> 
> #!/bin/sh -e
> #
> # rc.local
> #
> # This script is executed at the end of each multiuser runlevel.
> # Make sure that the script will "exit 0" on success or any other
> # value on error.
> #
> # In order to enable or disable this script just change the execution
> # bits.
> #
> /usr/bin/xinput set-int-prop "ETPS/2 Elantech Touchpad" "Device Enabled" 8 0


...er, and put 'exit 0' as an additional line at the end.






More information about the sf-lug mailing list