summaryrefslogtreecommitdiff
path: root/share
authorkergoth <kergoth>2003-03-28 07:56:36 (UTC)
committer kergoth <kergoth>2003-03-28 07:56:36 (UTC)
commit469731b3a6cb94037330d1f40398bede57a7c0f2 (patch) (side-by-side diff)
tree356dcfaf3fe06b77821831e21af2930f9dcd9b76 /share
parent362c15fa86471c032b2aed5ba3be8c513afe6417 (diff)
downloadopie-469731b3a6cb94037330d1f40398bede57a7c0f2.zip
opie-469731b3a6cb94037330d1f40398bede57a7c0f2.tar.gz
opie-469731b3a6cb94037330d1f40398bede57a7c0f2.tar.bz2
same
Diffstat (limited to 'share') (more/less context) (show whitespace changes)
-rw-r--r--share/opie-login/post-session12
1 files changed, 5 insertions, 7 deletions
diff --git a/share/opie-login/post-session b/share/opie-login/post-session
index 680701f..47dc597 100644
--- a/share/opie-login/post-session
+++ b/share/opie-login/post-session
@@ -12,13 +12,11 @@ permout ()
}
if [ -e /proc/hal/model ]; then
- devs=/dev/sound/dsp /dev/sound/mixer /dev/touchscreen/* \
- /dev/fb/0 /dev/vc/0
+ for i in /dev/sound/dsp /dev/sound/mixer /dev/touchscreen/* /dev/fb/0 /dev/vc/0; do
+ permout $i
+ done
else
- devs=/dev/dsp /dev/dsp1 /dev/mixer /dev/ts /dev/fb0 \
- /dev/sharp* /dev/collie*
-fi
-
-for i in $devs; do
+ for i in /dev/dsp /dev/dsp1 /dev/mixer /dev/ts /dev/fb0 /dev/sharp* /dev/collie*; do
permout $i
done
+fi