projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding upstream version 1.79+debian.
[live-boot-grml.git]
/
scripts
/
casper-bottom
/
33disable_binary_drivers
diff --git
a/scripts/casper-bottom/33disable_binary_drivers
b/scripts/casper-bottom/33disable_binary_drivers
index
52bcbf4
..
971ce8e
100755
(executable)
--- a/
scripts/casper-bottom/33disable_binary_drivers
+++ b/
scripts/casper-bottom/33disable_binary_drivers
@@
-3,7
+3,7
@@
PREREQ=""
DESCRIPTION="Configuring some drivers..."
PREREQ=""
DESCRIPTION="Configuring some drivers..."
-. /scripts/functions
+. /scripts/
casper-
functions
prereqs()
{
prereqs()
{
@@
-20,4
+20,8
@@
esac
log_begin_msg "$DESCRIPTION"
log_begin_msg "$DESCRIPTION"
-echo 'DISABLED_MODULES="fglrx nv"' >> /root/etc/default/linux-restricted-modules-common
+if [ -e /root/etc/default/linux-restricted-modules-common ]; then
+ echo 'DISABLED_MODULES="fglrx nv"' >> /root/etc/default/linux-restricted-modules-common
+fi
+
+log_end_msg
\ No newline at end of file