lshw is separate from lshw-gtk.
[redo.git] / etc / rc.local
blob2a36be2addc88c00d8c10265f2ee24577e4d05af
1 #!/bin/sh -e
3 # rc.local
5 # This script is executed at the end of each multiuser runlevel.
6 # Make sure that the script will "exit 0" on success or any other
7 # value on error.
9 # In order to enable or disable this script just change the execution
10 # bits.
12 # By default this script does nothing.
14 # Set the timezone to something other than UTC
15 su root -c "echo 'US/Central' | tee /etc/timezone; dpkg-reconfigure --frontend noninteractive tzdata"
17 # Copy the menus and other preferences to the root user's home directory
18 su root -c "cp -R /etc/skel/.local /etc/skel/.config /etc/skel/.fonts.conf /etc/skel/.gtkrc-2.0 /root"
20 # Start X
21 su root -c startx
23 exit 0