Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#1825 - /etc/rc.d/gdm script proposal
Attached to Project:
Arch Linux
Opened by Xavier de Labouret (zezaz) - Monday, 22 November 2004, 21:59 GMT
Last edited by Dale Blount (dale) - Tuesday, 23 November 2004, 03:21 GMT
Opened by Xavier de Labouret (zezaz) - Monday, 22 November 2004, 21:59 GMT
Last edited by Dale Blount (dale) - Tuesday, 23 November 2004, 03:21 GMT
|
DetailsHi,
The gdm startup script could be more simple than it is. The upstream gdm package provides a gdm-stop program, so there is no need to use the generic arch way to stop gdm. Moreover, i realized that stopping gdm with gdm-stop exits properly to console mode, which looks cleaner at shutdown :) Following is my gdm script relying on gdm-stop. I use it on my PC since a few weeks and had no problem with this version. Best thanks --------------8<------------- #!/bin/bash . /etc/rc.conf . /etc/rc.d/functions case "$1" in start) stat_busy "Starting GDM" /opt/gnome/bin/gdm if [ $? -gt 0 ]; then stat_fail else stat_done fi ;; stop) stat_busy "Stopping GDM" /opt/gnome/sbin/gdm-stop if [ $? -gt 0 ]; then stat_fail else stat_done fi ;; restart) $0 stop $0 start ;; *) echo "usage: $0 {start|stop|restart}" esac exit 0 |
This task depends upon
Closed by arjan timmerman (blaasvis)
Tuesday, 23 November 2004, 15:16 GMT
Reason for closing: Implemented
Tuesday, 23 November 2004, 15:16 GMT
Reason for closing: Implemented