wok rev 17051
slim: Save commandline output to get Xserver log in tazpanel like in slitaz4
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Aug 20 19:50:28 2014 +0200 (2014-08-20) |
parents | d303e26dcea3 |
children | 2049e2c5213e |
files | slim/stuff/slim-1.3.5.patch tazpanel/receipt |
line diff
1.1 --- a/slim/stuff/slim-1.3.5.patch Wed Aug 20 18:20:49 2014 +0200 1.2 +++ b/slim/stuff/slim-1.3.5.patch Wed Aug 20 19:50:28 2014 +0200 1.3 @@ -122,7 +122,7 @@ 1.4 # i.e. for freebsd use: 1.5 # login_cmd exec /bin/sh - ~/.xinitrc %session 1.6 -login_cmd exec /bin/bash -login ~/.xinitrc %session 1.7 -+login_cmd exec /bin/sh -l ~/.xinitrc %session 1.8 ++login_cmd exec /bin/sh -l ~/.xinitrc %session >/tmp/X-output 1.9 1.10 # Commands executed when starting and exiting a session. 1.11 # They can be used for registering a X11 session with
2.1 --- a/tazpanel/receipt Wed Aug 20 18:20:49 2014 +0200 2.2 +++ b/tazpanel/receipt Wed Aug 20 19:50:28 2014 +0200 2.3 @@ -29,6 +29,8 @@ 2.4 cp -a $install/* $fs 2.5 sed -i 's/0 4px #ddd, 0 0 0 4px/2px 4px/g' \ 2.6 $fs/var/www/tazpanel/styles/default/style.css 2.7 + sed -i 's|/var/log/slim.log|/tmp/X-output|g' \ 2.8 + $fs/var/www/tazpanel/boot.cgi 2.9 # Init script use tazpanel cmdline 2.10 cd $fs/etc/init.d && ln -s ../../usr/bin/tazpanel . 2.11 }