projects
/
busybox-power
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0c5fb1
)
also don't show the first-time installation warning for SSH logins
author
Dennis Groenen
<tj.groenen@gmail.com>
Fri, 30 Nov 2012 18:49:40 +0000
(19:49 +0100)
committer
Dennis Groenen
<tj.groenen@gmail.com>
Fri, 30 Nov 2012 18:49:40 +0000
(19:49 +0100)
debian/busybox-power.preinst
patch
|
blob
|
history
diff --git
a/debian/busybox-power.preinst
b/debian/busybox-power.preinst
index
b71d7c2
..
551fe92
100644
(file)
--- a/
debian/busybox-power.preinst
+++ b/
debian/busybox-power.preinst
@@
-33,9
+33,10
@@
else
esac
fi
-# Don't show the warning message when the user wants an unattended installation
-# or if $DISPLAY is not set
-if test -z "$DISPLAY" || test -e /tmp/.bbp-unattended; then exit 0; fi
+# Don't show the warning message when the user wants an unattended installation,
+# if $DISPLAY is not set or $SSH_TTY is set
+if test -z "$DISPLAY" || test -n "$SSH_TTY" || test -e /tmp/.bbp-unattended
+ then exit 0; fi
# Warning message
case $ENVIRONMENT in