This repository has been archived by the owner on Dec 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a new meta-package for x11/nvidia-driver-304.
This should make it easier to manually select the older NVIDIA driver during installation setup if the user knows they need it.
- Loading branch information
Ken Moore
committed
Mar 10, 2014
1 parent
dbf9952
commit 2aba8c5
Showing
6 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
src-sh/pc-metapkgmanager/metaset/pcbsd/NVIDIA-Legacy-304/pkg-desc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Legacy NVIDIA Drivers (304.x) for your desktop / laptop. |
Binary file added
BIN
+8.51 KB
src-sh/pc-metapkgmanager/metaset/pcbsd/NVIDIA-Legacy-304/pkg-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
src-sh/pc-metapkgmanager/metaset/pcbsd/NVIDIA-Legacy-304/pkg-parent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Hardware-Drivers |
1 change: 1 addition & 0 deletions
1
src-sh/pc-metapkgmanager/metaset/pcbsd/NVIDIA-Legacy-304/ports-list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nvidia-driver-304:/usr/ports/x11/nvidia-driver-304 |
7 changes: 7 additions & 0 deletions
7
src-sh/pc-metapkgmanager/metaset/pcbsd/NVIDIA-Legacy-304/post-install.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
|
||
# Enable loading the nvidia binary driver | ||
grep '^nvidia_load="YES"' /boot/loader.conf >/dev/null 2>/dev/null | ||
if [ $? -ne 0 ] ; then | ||
echo 'nvidia_load="YES"' >>/boot/loader.conf | ||
fi |
7 changes: 7 additions & 0 deletions
7
src-sh/pc-metapkgmanager/metaset/pcbsd/NVIDIA-Legacy-304/post-remove.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
|
||
# Enable loading the nvidia binary driver | ||
grep '^nvidia_load="YES"' /boot/loader.conf >/dev/null 2>/dev/null | ||
if [ $? -eq 0 ] ; then | ||
sed -i .bak '/nvidia_load="YES"/d' /boot/loader.conf | ||
fi |