Boot script location (runs before GDM login screen):
/etc/rc.local
Boot scripts run as root. Just change that file to your liking.
Login script location (runs after GDM login):
/etc/gdm/Default
There isn't a default login script, so you have to create it yourself, and make it executable (sudo chmod +x /etc/gdm/Default) and remember to put #!/bin/bash at the start (or whatever you want to use for the environment). Login scripts run as root.
No comments:
Post a Comment