summaryrefslogtreecommitdiff
path: root/x11/login.app/files/patch-ai
blob: 3b79e74277c0a161c31756916c5c7feea848f54e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- Scripts/Logout.root.orig	Sat Nov 11 10:49:57 2000
+++ Scripts/Logout.root	Thu Dec 14 10:38:58 2000
@@ -1,23 +1,23 @@
 #!/bin/sh
 
-PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin"
+PATH="/sbin:/usr/sbin:/bin:/usr/bin:%%LOCALBASE%%/bin:%%X11BASE%%/bin"
 
 #
 # Remove the _MOTIF_DRAG_WINDOW property from the root
 # window. This will prevent some Motif applications from
 # crashing the next time they are started.
 #
-xprop -root -remove _MOTIF_DRAG_WINDOW
+%%X11BASE%%/bin/xprop -root -remove _MOTIF_DRAG_WINDOW
 
 #
 # Remove user from utmp/wtmp.
 #
-sessreg -d $USER
+%%X11BASE%%/bin/sessreg -d $USER
 
 #
 # Make root the owner of /dev/console. 
 #
-chmod 622 /dev/console
-chown root /dev/console
+/bin/chmod 622 /dev/console
+/usr/sbin/chown root /dev/console
 
 # End of file