-rwxr-xr-x | root/etc/init.d/opie | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/root/etc/init.d/opie b/root/etc/init.d/opie index b5a185e..eed69c2 100755 --- a/root/etc/init.d/opie +++ b/root/etc/init.d/opie @@ -44,12 +44,17 @@ case $1 in *) echo "Unknown processor type -`module_id`-!" ;; esac - $OPIEDIR/bin/qpe 2>/dev/null >/dev/null & + if [ -x $OPIEDIR/bin/opie-login ]; then + $OPIEDIR/bin/opie-login 2>/dev/null >/dev/null & + else + $OPIEDIR/bin/qpe 2>/dev/null >/dev/null & + fi ;; 'stop') echo "Killing Opie..." killproc qpe + killproc opie-login ;; *) echo "usage: $0 { start | stop }" |