[PC-BSD Commits] r2205 - pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin

svn at pcbsd.org svn at pcbsd.org
Mon Jun 30 10:03:59 PDT 2008


Author: kris
Date: 2008-06-30 10:03:58 -0700 (Mon, 30 Jun 2008)
New Revision: 2205

Modified:
   pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/rundetect.sh
Log:

Updated the rundetect script so that kdialog can be launched properly



Modified: pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/rundetect.sh
===================================================================
--- pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/rundetect.sh	2008-06-30 16:22:46 UTC (rev 2204)
+++ pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/rundetect.sh	2008-06-30 17:03:58 UTC (rev 2205)
@@ -172,6 +172,12 @@
 
  ##### Create the xinitrc file
  echo '#!/bin/sh
+
+# Set all our path variables
+PATH="/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/bin:/usr/local/sbin:/us
+r/local/kde4/bin"
+export PATH
+
 touch /PCBSD/xorg-gui/.xstartupsuccess
 /usr/local/bin/fluxbox &
 PID=$!
@@ -190,6 +196,12 @@
 
  ##### Create the xinitrc file
  echo '#!/bin/sh
+
+# Set all our path variables
+PATH="/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/bin:/usr/local/sbin:/us
+r/local/kde4/bin"
+export PATH
+
 touch /PCBSD/xorg-gui/.xstartupsuccess
 /usr/local/bin/fluxbox &
 PID=$!
@@ -206,7 +218,7 @@
  ls /dev/nvidiactl* >/dev/null
  if [ "$?" != "0" ]
  then
-   /usr/local/bin/kdialog --msgbox "The system will be rebooted to load the NVIDIA kernel module. You will be asked to confirm the resolution after bootup."
+   /usr/local/kde4/bin/kdialog --msgbox "The system will be rebooted to load the NVIDIA kernel module. You will be asked to confirm the resolution after bootup."
    touch /PCBSD/xorg-gui/.nvidiareboot
    touch /PCBSD/xorg-gui/.rerunxsetup
  fi



More information about the Commits mailing list