projects
/
grml-x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
421a31a
)
Check for writeable /tmp before executing hardware detection
0.3.31
author
Michael Prokop
<mika@grml.org>
Tue, 4 Sep 2007 10:51:45 +0000
(12:51 +0200)
committer
Michael Prokop
<mika@grml.org>
Tue, 4 Sep 2007 10:51:45 +0000
(12:51 +0200)
debian/changelog
patch
|
blob
|
history
grml-x
patch
|
blob
|
history
diff --git
a/debian/changelog
b/debian/changelog
index
c92a309
..
caf7959
100644
(file)
--- a/
debian/changelog
+++ b/
debian/changelog
@@
-1,3
+1,9
@@
+grml-x (0.3.31) unstable; urgency=low
+
+ * Check for writeable /tmp before executing hardware detection.
+
+ -- Michael Prokop <mika@grml.org> Tue, 4 Sep 2007 12:51:22 +0200
+
grml-x (0.3.30) unstable; urgency=low
* Some further error handling regarding Xinerama.
grml-x (0.3.30) unstable; urgency=low
* Some further error handling regarding Xinerama.
diff --git
a/grml-x
b/grml-x
index
97e2ae1
..
89c483e
100755
(executable)
--- a/
grml-x
+++ b/
grml-x
@@
-4,9
+4,16
@@
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
-# Latest change: D
on Jul 12 02:53:42
CEST 2007 [mika]
+# Latest change: D
ie Sep 04 01:44:19
CEST 2007 [mika]
################################################################################
################################################################################
+# make sure /tmp is writeable {{{
+ if ! [ -w /tmp ] ; then
+ echo 'Fatal: /tmp is not writeable. Can not resume therefore, sorry.' >&2
+ exit 1
+ fi
+# }}}
+
# debugging {{{
# usage: DEBUG=1 grml-x ..... 2>/tmp/grml-x-debug.log
if [[ $DEBUG -gt 0 ]]; then
# debugging {{{
# usage: DEBUG=1 grml-x ..... 2>/tmp/grml-x-debug.log
if [[ $DEBUG -gt 0 ]]; then