diff options
Diffstat (limited to 'app-misc/sabayon-mce/files/1.1/bin/sabayon-mce-start')
-rw-r--r-- | app-misc/sabayon-mce/files/1.1/bin/sabayon-mce-start | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/app-misc/sabayon-mce/files/1.1/bin/sabayon-mce-start b/app-misc/sabayon-mce/files/1.1/bin/sabayon-mce-start deleted file mode 100644 index ff2f9ee2..00000000 --- a/app-misc/sabayon-mce/files/1.1/bin/sabayon-mce-start +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -# setup -myxinitrc="/usr/bin/sabayon-mce-session" -myuser="sabayonmce" -mcepid="/var/sabayonmce/.mcepid" - -# make sure samba is started -[[ -f "/etc/init.d/samba" ]] && /etc/init.d/samba start &> /dev/null - -# Kill previous instance running since -# /etc/init.d/xdm does not support PIDFILE for -# custom DISPLAYMANAGER -[[ -f "$mcepid" ]] && kill $(cat $mcepid) &> /dev/null - -# spawn! -echo $$ > /var/run/sabayon-mce-start.pid -su - ${myuser} -c "source /etc/profile && /usr/bin/sabayon-mce-startx ${myxinitrc} &> /dev/null" & |