Advertisement
Guest User

Untitled

a guest
Dec 21st, 2012
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. #!/sbin/runscript
  2.  
  3. description="generates xorg.conf for the livecd"
  4.  
  5. depend()
  6. {
  7. #need localmount xdm-setup
  8. after bootmisc consolefont modules netmount
  9. after readahead-list ypbind autofs openvpn gpm lircmd
  10. after quota keymaps
  11. before alsasound xdm
  12.  
  13. need localmount xdm-setup
  14. use consolekit dbus xfs
  15. }
  16.  
  17. start()
  18. {
  19. einfo "generating xorg.conf"
  20. X -configure
  21. mv /root/xorg.conf.new /etc/X11/xorg.conf
  22.  
  23. eend 0
  24. }
  25.  
  26. stop()
  27. {
  28. einfo "deleting xorg.conf"
  29. rm /etc/X11/xorg.conf
  30.  
  31. eend 0
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement