author | mickeyl <mickeyl> | 2004-04-30 12:33:12 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-04-30 12:33:12 (UTC) |
commit | 7829ac6b0577bf2398110f327a4b5e40435c105b (patch) (unidiff) | |
tree | 9e40d4b69370ae3d8c5ad134c049d5e082a303eb /root | |
parent | 79e9cb4ea04d1e22249dd1e2b0522bee3cb370e3 (diff) | |
download | opie-7829ac6b0577bf2398110f327a4b5e40435c105b.zip opie-7829ac6b0577bf2398110f327a4b5e40435c105b.tar.gz opie-7829ac6b0577bf2398110f327a4b5e40435c105b.tar.bz2 |
yeah for consistency: s/qpe/opie/
-rwxr-xr-x | root/etc/init.d/opie | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/root/etc/init.d/opie b/root/etc/init.d/opie index d49498c..a723864 100755 --- a/root/etc/init.d/opie +++ b/root/etc/init.d/opie | |||
@@ -34,13 +34,13 @@ if [ -e /proc/cpuinfo ] ; then | |||
34 | if (grep -qi "HP Jornada 56x" /proc/cpuinfo) ; then | 34 | if (grep -qi "HP Jornada 56x" /proc/cpuinfo) ; then |
35 | export QWS_DISPLAY=Transformed:Rot0:0 | 35 | export QWS_DISPLAY=Transformed:Rot0:0 |
36 | fi | 36 | fi |
37 | fi | 37 | fi |
38 | 38 | ||
39 | 39 | ||
40 | if [ ! -x $OPIEDIR/bin/qpe ] ; then | 40 | if [ ! -x $OPIEDIR/bin/opie ] ; then |
41 | echo Opie not installed | 41 | echo Opie not installed |
42 | exit 0 | 42 | exit 0 |
43 | fi | 43 | fi |
44 | 44 | ||
45 | . /etc/profile | 45 | . /etc/profile |
46 | 46 | ||
@@ -68,24 +68,24 @@ case $1 in | |||
68 | if [ -x $OPIEDIR/bin/opie-sh-ssh-askpass.sh ]; then | 68 | if [ -x $OPIEDIR/bin/opie-sh-ssh-askpass.sh ]; then |
69 | export SSH_ASKPASS=$OPIEDIR/bin/opie-sh-ssh-askpass.sh | 69 | export SSH_ASKPASS=$OPIEDIR/bin/opie-sh-ssh-askpass.sh |
70 | fi | 70 | fi |
71 | 71 | ||
72 | if ! killall -0 syslogd 2>/dev/null >/dev/null; then | 72 | if ! killall -0 syslogd 2>/dev/null >/dev/null; then |
73 | echo Starting Opie.... | 73 | echo Starting Opie.... |
74 | $SSHAGENT $OPIEDIR/bin/qpe 2>/dev/null >/dev/null & | 74 | $SSHAGENT $OPIEDIR/bin/opie 2>/dev/null >/dev/null & |
75 | else | 75 | else |
76 | echo Starting Opie with syslog logging..... | 76 | echo Starting Opie with syslog logging..... |
77 | ( $SSHAGENT $OPIEDIR/bin/qpe 2>&1 | logger ) & | 77 | ( $SSHAGENT $OPIEDIR/bin/opie 2>&1 | logger ) & |
78 | fi | 78 | fi |
79 | fi | 79 | fi |
80 | 80 | ||
81 | ;; | 81 | ;; |
82 | 82 | ||
83 | 'stop') | 83 | 'stop') |
84 | echo "Killing Opie..." | 84 | echo "Killing Opie..." |
85 | killall qpe | 85 | killall opie |
86 | killall opie-login | 86 | killall opie-login |
87 | 87 | ||
88 | ;; | 88 | ;; |
89 | 89 | ||
90 | *) | 90 | *) |
91 | echo "usage: $0 { start | stop }" | 91 | echo "usage: $0 { start | stop }" |