Δημοσιεύτηκε: 05 Ιούλ 2011, 09:17
1. Στο τερματικό αυτή η εντολή κάνει τη δουλειά που πρέπει; Διορθώνει το brightness;
2. Μήπως θα ήταν καλύτερα να το προσθέσεις να εκτελεσθεί κατά το boot ως root;
Τοποθετείς το script πάνω από τη γραμμή "exit 0" π.χ.
(Δε χρειάζεται sudo ή gksu στο script
- Κώδικας: Επιλογή όλων
sudo setpci -s 00:02.2 F4.B=00
2. Μήπως θα ήταν καλύτερα να το προσθέσεις να εκτελεσθεί κατά το boot ως root;
- Κώδικας: Επιλογή όλων
gksu gedit /etc/rc.local
Τοποθετείς το script πάνω από τη γραμμή "exit 0" π.χ.
- Κώδικας: Επιλογή όλων
#!/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.
#
# By default this script does nothing.
/path/to/my/executable/script.sh
exit 0
(Δε χρειάζεται sudo ή gksu στο script