Revision 16237,
445 bytes
checked in by zacheiss, 24 years ago
(diff) |
Disable power saving. This is temporary until Xsun recognizes the -dpms
flag properly.
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | # $Id: Xreset,v 1.2 2001-05-18 21:18:43 zacheiss Exp $ |
---|
3 | |
---|
4 | # Xreset |
---|
5 | # |
---|
6 | # This program is run as root by xlogin to reclaim ownership of the |
---|
7 | # devices granted to the user in Xstartup. |
---|
8 | |
---|
9 | cd /dev |
---|
10 | |
---|
11 | # Reclaim the audio devices. |
---|
12 | chown root audio audioctl |
---|
13 | chmod 600 audio audioctl |
---|
14 | |
---|
15 | # Turn off power saving. We should be able to do this by starting |
---|
16 | # Xsun with the -dpms flag, but that's broken. |
---|
17 | /usr/openwin/bin/xset -display :0.0 -dpms |
---|
18 | |
---|
19 | exit 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.