Advertisement
Guest User

Untitled

a guest
Oct 1st, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. # tty7 - openvt
  2. #
  3. # This service maintains a openvt and runs startx on tty7 from the
  4. # point the system is started until it is shut down again.
  5. # Set USER equal to the user name you want to run startx.
  6.  
  7. start on runlevel [23]
  8. stop on runlevel [!23]
  9.  
  10. respawn
  11.  
  12. script
  13. USER="username"
  14. exec /bin/openvt -fwc 7 -- /bin/su -c /usr/bin/startx $USER
  15. end script
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement