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 live-initramfs 1.87.4-1.
[live-boot-grml.git]
/
scripts
/
live-bottom
/
40install_driver_updates
diff --git
a/scripts/live-bottom/40install_driver_updates
b/scripts/live-bottom/40install_driver_updates
index
698ed02
..
66ae123
100755
(executable)
--- a/
scripts/live-bottom/40install_driver_updates
+++ b/
scripts/live-bottom/40install_driver_updates
@@
-1,29
+1,35
@@
-#!
/bin/sh
+#!/bin/sh
-PREREQ=""
-DESCRIPTION="Installing driver updates..."
+#set -e
-. /scripts/live-functions
+# initramfs-tools header
+
+PREREQ=""
prereqs()
{
prereqs()
{
- echo "$
PREREQ
"
+ echo "$
{PREREQ}
"
}
}
-case $1 in
-# get pre-requisites
-prereqs)
- prereqs
- exit 0
- ;;
+case "${1}" in
+ prereqs)
+ prereqs
+ exit 0
+ ;;
esac
esac
+# live-initramfs header
+
+. /scripts/live-functions
+
+log_begin_msg "Installing driver updates..."
+
+# live-initramfs script
+
if [ ! -d /tmp/driver-updates ]; then
exit 0
fi
if [ ! -d /tmp/driver-updates ]; then
exit 0
fi
-log_begin_msg "$DESCRIPTION"
-
install_dir=/var/cache/driver-updates
mkdir "/root$install_dir"
install_dir=/var/cache/driver-updates
mkdir "/root$install_dir"