source:
proiecte/PPPP/gdm/utils/gdm-stop.in
@
141
Last change on this file since 141 was 134, checked in by , 14 years ago | |
---|---|
|
|
File size: 212 bytes |
Line | |
---|---|
1 | #!/bin/sh |
2 | |
3 | PIDFILE=@GDM_PID_FILE@ |
4 | if test '!' -f $PIDFILE ; then |
5 | echo "$PIDFILE doesn't exist, perhaps GDM isn't running" |
6 | exit 1 |
7 | fi |
8 | # exec the kill to get the correct return code |
9 | exec kill -TERM `cat $PIDFILE` |
Note: See TracBrowser
for help on using the repository browser.