Changeset 4008
- Timestamp:
- 05/29/09 08:05:30 (10 months ago)
- Location:
- pcbsd/trunk/system-overlay/usr/PCBSD
- Files:
-
- 39 modified
-
Scripts/CheckPBIUpdates.sh (modified) (2 diffs)
-
Scripts/Components/install-component.sh (modified) (4 diffs)
-
Scripts/changeportdb.sh (modified) (1 diff)
-
Scripts/checkXloader.sh (modified) (1 diff)
-
Scripts/fbsd-update.sh (modified) (1 diff)
-
Scripts/installPatch.sh (modified) (2 diffs)
-
Scripts/registerPatch.sh (modified) (1 diff)
-
Scripts/runpbi.sh (modified) (1 diff)
-
Scripts/system-stop.sh (modified) (1 diff)
-
Services/acpinotebook/disable.sh (modified) (1 diff)
-
Services/acpinotebook/enable.sh (modified) (1 diff)
-
Services/acpinotebook/isEnabled.sh (modified) (1 diff)
-
Services/acpinotebook/isRunning.sh (modified) (1 diff)
-
Services/acpinotebook/restart.sh (modified) (1 diff)
-
Services/acpinotebook/service-config.sh (modified) (3 diffs)
-
Services/acpinotebook/start.sh (modified) (1 diff)
-
Services/acpinotebook/stop.sh (modified) (1 diff)
-
Services/hplip/disable.sh (modified) (1 diff)
-
Services/hplip/enable.sh (modified) (1 diff)
-
SystemUpdater/bin/SystemUpdater.sh (modified) (1 diff)
-
SystemUpdater/bin/readSysUpdates.sh (modified) (1 diff)
-
SystemUpdater/bin/readSysUpdatesUser.sh (modified) (1 diff)
-
bin/CrashHandler (modified) (1 diff)
-
bin/PBIUpdater (modified) (1 diff)
-
bin/PCBSDUpdater (modified) (1 diff)
-
bin/pdm (modified) (1 diff)
-
bin/rerunXsetup.sh (modified) (1 diff)
-
local/etc/rc.d/pcbsdinit (modified) (1 diff)
-
local/etc/rc.d/snddetect (modified) (1 diff)
-
local/kde4/share/applications/kde4/pcbsdmakeports.desktop (modified) (1 diff)
-
local/kde4/share/applications/kde4/pcbsdpbu.desktop (modified) (1 diff)
-
local/kde4/share/applications/kde4/pcbsdrunports.desktop (modified) (1 diff)
-
local/kde4/share/applications/kde4/pcbsdxsetup.desktop (modified) (1 diff)
-
local/kde4/share/applnk/.hidden/pbistart.desktop (modified) (1 diff)
-
local/share/applnk/.hidden/pbistart.desktop (modified) (1 diff)
-
xorg-gui/bin/setupconf.sh (modified) (5 diffs)
-
xorg-gui/conf/ttys.normal (modified) (1 diff)
-
xorg-gui/templates/scripts/README (modified) (1 diff)
-
xorg-gui/templates/scripts/nvidia.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pcbsd/trunk/system-overlay/usr/PCBSD/Scripts/CheckPBIUpdates.sh
r153 r4008 1 1 #!/bin/sh 2 2 # PBI Update Checker Script 3 # Usage "/ PCBSD/Scripts/CheckPBIUpdates.sh" <Progdir>3 # Usage "/usr/PCBSD/Scripts/CheckPBIUpdates.sh" <Progdir> 4 4 # I.E: CheckPBIUpdates.sh TestProg1.0 will check the 5 5 # directory /Programs/TestProg1.0 for updates … … 8 8 9 9 # The wget binary 10 WGET="/ PCBSD/bin/wget"10 WGET="/usr/PCBSD/bin/wget" 11 11 12 12 # Where to save the tmp download file 13 UPFILE="/ PCBSD/tmp/PBIUpdateCheck";13 UPFILE="/usr/PCBSD/tmp/PBIUpdateCheck"; 14 14 15 15 ############################################################### -
pcbsd/trunk/system-overlay/usr/PCBSD/Scripts/Components/install-component.sh
r3843 r4008 8 8 9 9 # Start by sourcing our config file for this component 10 . / PCBSD/Components/${COMPONENT}/pkg-config.sh10 . /usr/PCBSD/Components/${COMPONENT}/pkg-config.sh 11 11 12 12 # Set our variables … … 15 15 CDMNT="/tmp/pcbsdcdmnt" 16 16 MNTLOC="" 17 FILEDIR="/ PCBSD/tmp"17 FILEDIR="/usr/PCBSD/tmp" 18 18 19 19 # Network Variables … … 74 74 75 75 # Now start the install 76 / PCBSD/Components/${COMPONENT}/install.sh ${FILEDIR}76 /usr/PCBSD/Components/${COMPONENT}/install.sh ${FILEDIR} 77 77 78 78 # Do any cleanup of the old packages now … … 140 140 then 141 141 # Now start the install 142 / PCBSD/Components/${COMPONENT}/install.sh ${FILEDIR}142 /usr/PCBSD/Components/${COMPONENT}/install.sh ${FILEDIR} 143 143 144 144 # Do any cleanup of the old packages now -
pcbsd/trunk/system-overlay/usr/PCBSD/Scripts/changeportdb.sh
r3566 r4008 4 4 ############################################################################ 5 5 6 setenv PKG_DBDIR / PCBSD/var/db7 setenv PORT_DBDIR / PCBSD/var/db6 setenv PKG_DBDIR /usr/PCBSD/var/db/pkg 7 setenv PORT_DBDIR /usr/PCBSD/var/db/pkg 8 8 9 9 clear 10 10 echo "Set the following variables:" 11 echo " PKG_DBDIR=/ PCBSD/var/db"12 echo " PORT_DBDIR=/ PCBSD/var/db"11 echo " PKG_DBDIR=/usr/PCBSD/var/db/pkg" 12 echo " PORT_DBDIR=/usr/PCBSD/var/db/pkg" 13 13 echo " " 14 14 echo "WARNING! Modifying PC-BSD base packages could render the system in-operable!" -
pcbsd/trunk/system-overlay/usr/PCBSD/Scripts/checkXloader.sh
r1890 r4008 6 6 if [ "$FOUND" = "0" ] 7 7 then 8 cp / PCBSD/xorg-gui/conf/ttys.xsetup /etc/ttys8 cp /usr/PCBSD/xorg-gui/conf/ttys.xsetup /etc/ttys 9 9 exit 0 10 10 fi 11 11 12 if [ -e "/ PCBSD/xorg-gui/.rerunxsetup" ]12 if [ -e "/usr/PCBSD/xorg-gui/.rerunxsetup" ] 13 13 then 14 cp / PCBSD/xorg-gui/conf/ttys.xsetup /etc/ttys14 cp /usr/PCBSD/xorg-gui/conf/ttys.xsetup /etc/ttys 15 15 exit 0 16 16 fi -
pcbsd/trunk/system-overlay/usr/PCBSD/Scripts/fbsd-update.sh
r253 r4008 3 3 ########################################################################## 4 4 5 if [ -e "/ PCBSD/conf/freebsd-update-enable" ]5 if [ -e "/usr/PCBSD/conf/freebsd-update-enable" ] 6 6 then 7 7 8 freebsd-update fetch >/ PCBSD/tmp/fbsd-update-log9 freebsd-update install >>/ PCBSD/tmp/fbsd-update-log8 freebsd-update fetch >/usr/PCBSD/tmp/fbsd-update-log 9 freebsd-update install >>/usr/PCBSD/tmp/fbsd-update-log 10 10 11 11 fi -
pcbsd/trunk/system-overlay/usr/PCBSD/Scripts/installPatch.sh
r153 r4008 2 2 3 3 # Remove the tmpdir if it exists 4 rm -rf / PCBSD/tmp/patchdir >/dev/null 2>/dev/null4 rm -rf /usr/PCBSD/tmp/patchdir >/dev/null 2>/dev/null 5 5 6 6 # Change Directories 7 mkdir /PCBSD/tmp/patchdir >/dev/null 2>/dev/null7 mkdir -p /usr/PCBSD/tmp/patchdir >/dev/null 2>/dev/null 8 8 9 9 # Change Directories 10 cd / PCBSD/tmp/patchdir10 cd /usr/PCBSD/tmp/patchdir 11 11 12 12 # Untar the patch file … … 19 19 20 20 # Make it executable 21 chmod 755 / PCBSD/tmp/patchdir/PBUPatch.sh21 chmod 755 /usr/PCBSD/tmp/patchdir/PBUPatch.sh 22 22 23 23 # Run the patch script file 24 / PCBSD/tmp/patchdir/PBUPatch.sh >&1 2>&124 /usr/PCBSD/tmp/patchdir/PBUPatch.sh >&1 2>&1 25 25 26 26 27 27 # Delete the tmp dir 28 rm -rf / PCBSD/tmp/patchdir28 rm -rf /usr/PCBSD/tmp/patchdir 29 29 30 30 exit 0 -
pcbsd/trunk/system-overlay/usr/PCBSD/Scripts/registerPatch.sh
r153 r4008 2 2 3 3 # Source the main INI file 4 #. / PCBSD/conf/pcbsd.ini4 #. /usr/PCBSD/conf/pcbsd.ini 5 5 6 6 PCBSDVER="`PBReg get /PC-BSD/Version`" 7 7 8 8 # Make the patch Directory 9 mkdir / PCBSD/Patches/${PCBSDVER}/${1}9 mkdir /usr/PCBSD/Patches/${PCBSDVER}/${1} 10 10 11 11 # Move the .pbu file to that dir 12 mv / PCBSD/tmp/${1}.pbu/PCBSD/Patches/${PCBSDVER}/${1}/12 mv /usr/PCBSD/tmp/${1}.pbu /usr/PCBSD/Patches/${PCBSDVER}/${1}/ 13 13 14 14 # Remove the tarball -
pcbsd/trunk/system-overlay/usr/PCBSD/Scripts/runpbi.sh
r153 r4008 1 1 #!/bin/sh 2 2 3 . / PCBSD/LANGS/PCBSDLANG3 . /usr/PCBSD/LANGS/PCBSDLANG 4 4 5 5 file "$1" | grep ELF -
pcbsd/trunk/system-overlay/usr/PCBSD/Scripts/system-stop.sh
r1551 r4008 4 4 5 5 # Update the linker.hints file 6 / PCBSD/Scripts/UpdateHints.sh6 /usr/PCBSD/Scripts/UpdateHints.sh 7 7 8 8 echo "Cleaning PBI Logs" 9 / PCBSD/Scripts/cleanpbilog.sh9 /usr/PCBSD/Scripts/cleanpbilog.sh 10 10 -
pcbsd/trunk/system-overlay/usr/PCBSD/Services/acpinotebook/disable.sh
r2770 r4008 3 3 # Return 0 on success, or 1 on failure. 4 4 5 . / PCBSD/Services/acpinotebook/service-config.sh5 . /usr/PCBSD/Services/acpinotebook/service-config.sh 6 6 7 7 if [ "$SELECTED_ACPI" != "" ]; -
pcbsd/trunk/system-overlay/usr/PCBSD/Services/acpinotebook/enable.sh
r3627 r4008 3 3 # Return 0 on success, or 1 on failure. 4 4 5 . / PCBSD/Services/acpinotebook/service-config.sh5 . /usr/PCBSD/Services/acpinotebook/service-config.sh 6 6 7 7 if [ "$SELECTED_ACPI" != "" ]; -
pcbsd/trunk/system-overlay/usr/PCBSD/Services/acpinotebook/isEnabled.sh
r3627 r4008 3 3 # Return 0 on success, or 1 on failure. 4 4 5 . / PCBSD/Services/acpinotebook/service-config.sh5 . /usr/PCBSD/Services/acpinotebook/service-config.sh 6 6 7 7 if [ "$SELECTED_ACPI" != "" ]; -
pcbsd/trunk/system-overlay/usr/PCBSD/Services/acpinotebook/isRunning.sh
r3627 r4008 3 3 # Return a "0" if the service is running, or a "1" if it is stopped 4 4 5 . / PCBSD/Services/acpinotebook/service-config.sh5 . /usr/PCBSD/Services/acpinotebook/service-config.sh 6 6 7 7 if [ "$SELECTED_ACPI" != "" ]; -
pcbsd/trunk/system-overlay/usr/PCBSD/Services/acpinotebook/restart.sh
r3627 r4008 3 3 # Return a "0" on success, or a "1" on failure 4 4 5 . / PCBSD/Services/acpinotebook/stop.sh6 . / PCBSD/Services/acpinotebook/start.sh5 . /usr/PCBSD/Services/acpinotebook/stop.sh 6 . /usr/PCBSD/Services/acpinotebook/start.sh 7 7 8 8 return 0 -
pcbsd/trunk/system-overlay/usr/PCBSD/Services/acpinotebook/service-config.sh
r3627 r4008 1 1 #!/bin/sh 2 2 3 . / PCBSD/Services/acpinotebook/selected-acpi.sh3 . /usr/PCBSD/Services/acpinotebook/selected-acpi.sh 4 4 5 5 ALLOWED_ACPI="asus fujitsu ibm panasonic sony toshiba" … … 26 26 SELECTED_ACPI=\"${SELECTED_ACPI}\" 27 27 INITED_ACPI=\"TRUE\" 28 " > / PCBSD/Services/acpinotebook/selected-acpi.sh28 " > /usr/PCBSD/Services/acpinotebook/selected-acpi.sh 29 29 30 30 if [ "$SELECTED_ACPI" = "" ]; … … 35 35 disableStop: YES 36 36 disableRestart: YES 37 " >> / PCBSD/Services/acpinotebook/service.cfg37 " >> /usr/PCBSD/Services/acpinotebook/service.cfg 38 38 fi 39 39 -
pcbsd/trunk/system-overlay/usr/PCBSD/Services/acpinotebook/start.sh
r3627 r4008 3 3 # Return 0 on success, or "1" on failure 4 4 5 . / PCBSD/Services/acpinotebook/service-config.sh5 . /usr/PCBSD/Services/acpinotebook/service-config.sh 6 6 7 7 if [ "$SELECTED_ACPI" != "" ]; -
pcbsd/trunk/system-overlay/usr/PCBSD/Services/acpinotebook/stop.sh
r3627 r4008 3 3 # Return 0 on success, or "1" on failure 4 4 5 . / PCBSD/Services/acpinotebook/service-config.sh5 . /usr/PCBSD/Services/acpinotebook/service-config.sh 6 6 7 7 if [ "$SELECTED_ACPI" != "" ]; -
pcbsd/trunk/system-overlay/usr/PCBSD/Services/hplip/disable.sh
r2445 r4008 3 3 # Return 0 on success, or 1 on failure. 4 4 5 / PCBSD/Services/hplip/stop.sh5 /usr/PCBSD/Services/hplip/stop.sh 6 6 7 7 kldload ulpt -
pcbsd/trunk/system-overlay/usr/PCBSD/Services/hplip/enable.sh
r2445 r4008 12 12 mv /tmp/loader.new /boot/loader.conf 13 13 14 / PCBSD/Services/hplip/start.sh14 /usr/PCBSD/Services/hplip/start.sh 15 15 16 16 return 0 -
pcbsd/trunk/system-overlay/usr/PCBSD/SystemUpdater/bin/SystemUpdater.sh
r2959 r4008 7 7 export LANG 8 8 9 / PCBSD/SystemUpdater/bin/SystemUpdater9 /usr/PCBSD/SystemUpdater/bin/SystemUpdater 10 10 11 11 sleep 8 -
pcbsd/trunk/system-overlay/usr/PCBSD/SystemUpdater/bin/readSysUpdates.sh
r3841 r4008 11 11 12 12 # Set the program location 13 PROGDIR="/ PCBSD/SystemUpdater" ; export PROGDIR13 PROGDIR="/usr/PCBSD/SystemUpdater" ; export PROGDIR 14 14 15 15 # Get the system version we are checking for updates to -
pcbsd/trunk/system-overlay/usr/PCBSD/SystemUpdater/bin/readSysUpdatesUser.sh
r3841 r4008 12 12 13 13 # Set the program location 14 PROGDIR="/ PCBSD/SystemUpdater" ; export PROGDIR14 PROGDIR="/usr/PCBSD/SystemUpdater" ; export PROGDIR 15 15 16 16 # Get the system version we are checking for updates to -
pcbsd/trunk/system-overlay/usr/PCBSD/bin/CrashHandler
r506 r4008 1 1 #!/bin/sh 2 . / PCBSD/LANGS/PCBSDLANG >/dev/null 2>/dev/null3 LD_LIBRARY_PATH=" /usr/local/MyPrograms/.libs/"; export LD_LIBRARY_PATH4 / PCBSD/bin/CrashHandler-bin $@2 . /usr/PCBSD/LANGS/PCBSDLANG >/dev/null 2>/dev/null 3 LD_LIBRARY_PATH="" ; export LD_LIBRARY_PATH 4 /usr/PCBSD/bin/CrashHandler-bin $@ -
pcbsd/trunk/system-overlay/usr/PCBSD/bin/PBIUpdater
r37 r4008 1 1 #!/bin/sh 2 . / PCBSD/LANGS/PCBSDLANG >/dev/null 2>/dev/null3 / PCBSD/bin/PBIUpdater-bin2 . /usr/PCBSD/LANGS/PCBSDLANG >/dev/null 2>/dev/null 3 /usr/PCBSD/bin/PBIUpdater-bin -
pcbsd/trunk/system-overlay/usr/PCBSD/bin/PCBSDUpdater
r894 r4008 1 1 #!/bin/sh 2 . / PCBSD/LANGS/PCBSDLANG >/dev/null 2>/dev/null2 . /usr/PCBSD/LANGS/PCBSDLANG >/dev/null 2>/dev/null 3 3 LD_LIBRARY_PATH="/usr/local/MyPrograms/.libs/"; export LD_LIBRARY_PATH 4 / PCBSD/bin/PCBSDUpdater-bin $@4 /usr/PCBSD/bin/PCBSDUpdater-bin $@ -
pcbsd/trunk/system-overlay/usr/PCBSD/bin/pdm
r4005 r4008 65 65 i=1 66 66 do 67 if [ -e "/ PCBSD/conf/.runxsetup" ]; then67 if [ -e "/usr/PCBSD/conf/.runxsetup" ]; then 68 68 if [ ${xvesa} = "YES" ]; then 69 69 setup_xvesa -
pcbsd/trunk/system-overlay/usr/PCBSD/bin/rerunXsetup.sh
r2832 r4008 6 6 7 7 echo " 8 touch / PCBSD/conf/.runxsetup8 touch /usr/PCBSD/conf/.runxsetup 9 9 (sleep 5; killall -9 kdm-bin kdm kdeinit4 X) &" > /tmp/.killx 10 10 chmod 755 /tmp/.killx -
pcbsd/trunk/system-overlay/usr/PCBSD/local/etc/rc.d/pcbsdinit
r1551 r4008 19 19 pcbsd_start() 20 20 { 21 / PCBSD/Scripts/system-start.sh21 /usr/PCBSD/Scripts/system-start.sh 22 22 } 23 23 24 24 pcbsd_stop() 25 25 { 26 / PCBSD/Scripts/system-stop.sh26 /usr/PCBSD/Scripts/system-stop.sh 27 27 } 28 28 -
pcbsd/trunk/system-overlay/usr/PCBSD/local/etc/rc.d/snddetect
r2329 r4008 24 24 rm /tmp/unknownSound 25 25 fi 26 / PCBSD/soundDetect/sound_detect26 /usr/PCBSD/soundDetect/sound_detect 27 27 } 28 28 -
pcbsd/trunk/system-overlay/usr/PCBSD/local/kde4/share/applications/kde4/pcbsdmakeports.desktop
r3586 r4008 1 1 [Desktop Entry] 2 2 Encoding=UTF-8 3 Exec=/ PCBSD/Scripts/runports.sh4 Icon=/ PCBSD/images/runports.png3 Exec=/usr/PCBSD/Scripts/runports.sh 4 Icon=/usr/PCBSD/images/runports.png 5 5 Type=Application 6 6 Name=Run Ports (root) -
pcbsd/trunk/system-overlay/usr/PCBSD/local/kde4/share/applications/kde4/pcbsdpbu.desktop
r3840 r4008 1 1 [Desktop Entry] 2 2 Encoding=UTF-8 3 Exec=/ PCBSD/SystemUpdater/bin/SystemUpdaterTray3 Exec=/usr/PCBSD/SystemUpdater/bin/SystemUpdaterTray 4 4 Icon=preferences-desktop-notification 5 5 Type=Application -
pcbsd/trunk/system-overlay/usr/PCBSD/local/kde4/share/applications/kde4/pcbsdrunports.desktop
r3586 r4008 1 1 [Desktop Entry] 2 2 Encoding=UTF-8 3 Exec=/ PCBSD/Scripts/runports.sh4 Icon=/ PCBSD/images/runports.png3 Exec=/usr/PCBSD/Scripts/runports.sh 4 Icon=/usr/PCBSD/images/runports.png 5 5 Type=Application 6 6 Name=Run Ports (user) -
pcbsd/trunk/system-overlay/usr/PCBSD/local/kde4/share/applications/kde4/pcbsdxsetup.desktop
r2832 r4008 1 1 [Desktop Entry] 2 2 Encoding=UTF-8 3 Exec=/ PCBSD/bin/rerunXsetup.sh3 Exec=/usr/PCBSD/bin/rerunXsetup.sh 4 4 Icon=preferences-desktop 5 5 Type=Application -
pcbsd/trunk/system-overlay/usr/PCBSD/local/kde4/share/applnk/.hidden/pbistart.desktop
r3161 r4008 1 1 [Desktop Entry] 2 Exec=/ PCBSD/Scripts/runpbi.sh2 Exec=/usr/PCBSD/Scripts/runpbi.sh 3 3 Icon=/Programs/.config/application.png 4 4 AllowAsDefault=true -
pcbsd/trunk/system-overlay/usr/PCBSD/local/share/applnk/.hidden/pbistart.desktop
r2702 r4008 1 1 [Desktop Entry] 2 Exec=/ PCBSD/Scripts/runpbi.sh2 Exec=/usr/PCBSD/Scripts/runpbi.sh 3 3 Icon=/Programs/.config/application.png 4 4 AllowAsDefault=true -
pcbsd/trunk/system-overlay/usr/PCBSD/xorg-gui/bin/setupconf.sh
r3679 r4008 2 2 3 3 # Source the settings file 4 chmod 755 / PCBSD/xorg-gui/.xsettings.sh5 . / PCBSD/xorg-gui/.xsettings.sh4 chmod 755 /usr/PCBSD/xorg-gui/.xsettings.sh 5 . /usr/PCBSD/xorg-gui/.xsettings.sh 6 6 7 7 # Set our port / pkg database dirs 8 PKG_DBDIR="/ PCBSD/var/db" ; export PKG_DBDIR9 PORT_DBDIR="/ PCBSD/var/db" ; export PORT_DBDIR10 11 TMPFILE="/ PCBSD/xorg-gui/.xorg.conf.tmp"8 PKG_DBDIR="/usr/PCBSD/var/db/pkg" ; export PKG_DBDIR 9 PORT_DBDIR="/usr/PCBSD/var/db/pkg" ; export PORT_DBDIR 10 11 TMPFILE="/usr/PCBSD/xorg-gui/.xorg.conf.tmp" 12 12 13 13 # Get the real driver name and save the value from xorg-gui 14 14 SELDRIVER="${DRIVER}" ; export SELDRIVER 15 grep "^${DRIVER}:" / PCBSD/xorg-gui/settings/alias.txt >/dev/null 2>/dev/null15 grep "^${DRIVER}:" /usr/PCBSD/xorg-gui/settings/alias.txt >/dev/null 2>/dev/null 16 16 if [ "$?" = "0" ] 17 17 then 18 DRIVER=`cat / PCBSD/xorg-gui/settings/alias.txt | grep "^${DRIVER}:" | cut -d ":" -f 2`18 DRIVER=`cat /usr/PCBSD/xorg-gui/settings/alias.txt | grep "^${DRIVER}:" | cut -d ":" -f 2` 19 19 export DRIVER 20 20 else … … 23 23 24 24 # Check if the driver has a special header to use in place of the generic one 25 if [ -e "/ PCBSD/xorg-gui/templates/header/${DRIVER}.xorg.conf" ]26 then 27 cp "/ PCBSD/xorg-gui/templates/header/${DRIVER}.xorg.conf" $TMPFILE28 else 29 cp / PCBSD/xorg-gui/templates/header/xorg.conf.generic $TMPFILE25 if [ -e "/usr/PCBSD/xorg-gui/templates/header/${DRIVER}.xorg.conf" ] 26 then 27 cp "/usr/PCBSD/xorg-gui/templates/header/${DRIVER}.xorg.conf" $TMPFILE 28 else 29 cp /usr/PCBSD/xorg-gui/templates/header/xorg.conf.generic $TMPFILE 30 30 fi 31 31 … … 113 113 XRES="`echo $RES | cut -d 'x' -f 1`" 114 114 YRES="`echo $RES | cut -d 'x' -f 2`" 115 #/ PCBSD/xorg-gui/bin/gtf $XRES $YRES $REFRESH >> $TMPFILE115 #/usr/PCBSD/xorg-gui/bin/gtf $XRES $YRES $REFRESH >> $TMPFILE 116 116 117 117 echo 'EndSection … … 181 181 182 182 # Copy over the defined template options for the specific driver 183 cat / PCBSD/xorg-gui/templates/driver/${DRIVER}.template >>$TMPFILE183 cat /usr/PCBSD/xorg-gui/templates/driver/${DRIVER}.template >>$TMPFILE 184 184 185 185 # Check if we have a cardbus variable … … 305 305 306 306 # See if this driver needs any post-setup operations to run 307 if [ -e "/ PCBSD/xorg-gui/templates/scripts/${DRIVER}.sh" ]307 if [ -e "/usr/PCBSD/xorg-gui/templates/scripts/${DRIVER}.sh" ] 308 308 then 309 309 # We found the file, so run it 310 sh "/ PCBSD/xorg-gui/templates/scripts/${DRIVER}.sh" "${SELDRIVER}"311 fi 312 310 sh "/usr/PCBSD/xorg-gui/templates/scripts/${DRIVER}.sh" "${SELDRIVER}" 311 fi 312 -
pcbsd/trunk/system-overlay/usr/PCBSD/xorg-gui/conf/ttys.normal
r2033 r4008 42 42 ttyv6 "/usr/libexec/getty Pc" cons25 on secure 43 43 ttyv7 "/usr/libexec/getty Pc" cons25 on secure 44 ttyv8 "/ PCBSD/bin/pdm" xterm on secure44 ttyv8 "/usr/PCBSD/bin/pdm" xterm on secure 45 45 # Serial terminals 46 46 # The 'dialup' keyword identifies dialin lines to login, fingerd etc. -
pcbsd/trunk/system-overlay/usr/PCBSD/xorg-gui/templates/scripts/README
r428 r4008 5 5 6 6 The script name should match the corresponding entery in the drivers.txt and 7 alias.txt files in / PCBSD/xorg-gui/settings/ directory.7 alias.txt files in /usr/PCBSD/xorg-gui/settings/ directory. -
pcbsd/trunk/system-overlay/usr/PCBSD/xorg-gui/templates/scripts/nvidia.sh
r3620 r4008 5 5 DRIVERVER="${1}" 6 6 7 PKG_DBDIR="/ PCBSD/var/db"; export PKG_DBDIR8 PORT_DBDIR="/ PCBSD/var/db"; export PKG_DBDIR7 PKG_DBDIR="/usr/PCBSD/var/db/pkg"; export PKG_DBDIR 8 PORT_DBDIR="/usr/PCBSD/var/db/pkg"; export PKG_DBDIR 9 9 10 10 … … 22 22 # Add the nvidia driver to the system 23 23 PKGNAME="`echo ${DRIVERVER} | sed -e 's|nvidia-|nvidia-driver-|'`" 24 pkg_add -f / PCBSD/packages/${PKGNAME}*.tbz25 pkg_add -f / PCBSD/packages/nvidia-settings*.tbz24 pkg_add -f /usr/PCBSD/packages/${PKGNAME}*.tbz 25 pkg_add -f /usr/PCBSD/packages/nvidia-settings*.tbz 26 26 27 27 #Check if the driver is already loaded
