403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/x11/ly/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/x11/ly/files/patch-res_xsetup.sh
--- res/xsetup.sh.orig	2020-02-03 07:51:05 UTC
+++ res/xsetup.sh
@@ -55,8 +55,8 @@ esac
 [ -f $HOME/.xprofile ] && . $HOME/.xprofile
 
 # run all system xinitrc shell scripts.
-if [ -d /etc/X11/xinit/xinitrc.d ]; then
-  for i in /etc/X11/xinit/xinitrc.d/* ; do
+if [ -d %%LOCALBASE%%/etc/X11/xinit/xinitrc.d ]; then
+  for i in %%LOCALBASE%%/etc/X11/xinit/xinitrc.d/* ; do
   if [ -x "$i" ]; then
     . "$i"
   fi
@@ -66,8 +66,8 @@ fi
 # Load Xsession scripts
 # OPTIONFILE, USERXSESSION, USERXSESSIONRC and ALTUSERXSESSION are required
 # by the scripts to work
-xsessionddir="/etc/X11/Xsession.d"
-OPTIONFILE=/etc/X11/Xsession.options
+xsessionddir="%%LOCALBASE%%/etc/X11/Xsession.d"
+OPTIONFILE=%%LOCALBASE%%/etc/X11/Xsession.options
 USERXSESSION=$HOME/.xsession
 USERXSESSIONRC=$HOME/.xsessionrc
 ALTUSERXSESSION=$HOME/.Xsession
@@ -82,12 +82,12 @@ if [ -d "$xsessionddir" ]; then
     done
 fi
 
-if [ -d /etc/X11/Xresources ]; then
-  for i in /etc/X11/Xresources/*; do
+if [ -d %%LOCALBASE%%/etc/X11/Xresources ]; then
+  for i in %%LOCALBASE%%/etc/X11/Xresources/*; do
     [ -f $i ] && xrdb -merge $i
   done
-elif [ -f /etc/X11/Xresources ]; then
-  xrdb -merge /etc/X11/Xresources
+elif [ -f %%LOCALBASE%%/etc/X11/Xresources ]; then
+  xrdb -merge %%LOCALBASE%%/etc/X11/Xresources
 fi
 [ -f $HOME/.Xresources ] && xrdb -merge $HOME/.Xresources
 

Youez - 2016 - github.com/yon3zu
LinuXploit