author | kergoth <kergoth> | 2002-01-28 23:28:04 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-01-28 23:28:04 (UTC) |
commit | f7b3193e5d2d9a211ce0b963dca571d82adecb71 (patch) (unidiff) | |
tree | 44f49bdc076dc299bba1a4dc8d5d517114be5701 /core/launcher/main.cpp | |
parent | 77d110d35f75d63f5dc66c1dd2427daf7dc2e214 (diff) | |
download | opie-f7b3193e5d2d9a211ce0b963dca571d82adecb71.zip opie-f7b3193e5d2d9a211ce0b963dca571d82adecb71.tar.gz opie-f7b3193e5d2d9a211ce0b963dca571d82adecb71.tar.bz2 |
Committing in .
Modified Files:
configure mkipks addressbook/Makefile.in
addressbook/addressbook.pro calc2/calc.pro
calc2/binary/binary.pro calc2/simple/simple.pro
calculator/Makefile.in calculator/calculator.pro
cardmon/Makefile.in cardmon/cardmon.pro chess/chess.pro
citytime/Makefile.in citytime/citytime.pro clock/Makefile.in
clock/clock.pro datebook/Makefile.in datebook/datebook.pro
dictionary/dictionary.pro doc/qcop.doc doc/start.doc
embeddedkonsole/Makefile.in
embeddedkonsole/embeddedkonsole.pro etc/init.d/qpe
example/example.pro fifteen/Makefile.in fifteen/fifteen.pro
filebrowser/Makefile.in filebrowser/filebrowser.pro
freetype/freetype.pro go/Makefile.in go/go.pro
helpbrowser/Makefile.in helpbrowser/helpbrowser.pro
inputmethods/handwriting/Makefile.in
inputmethods/handwriting/handwriting.pro
inputmethods/keyboard/Makefile.in
inputmethods/keyboard/keyboard.pro
inputmethods/pickboard/Makefile.in
inputmethods/pickboard/pickboard.pro
inputmethods/unikeyboard/Makefile.in
inputmethods/unikeyboard/unikeyboard.pro keypebble/Makefile.in
keypebble/keypebble.pro library/Makefile.in library/global.cpp
library/library.pro library/qpeapplication.cpp
mindbreaker/Makefile.in mindbreaker/mindbreaker.pro
minesweep/Makefile.in minesweep/minesweep.pro
mpegplayer/Makefile.in mpegplayer/mpegplayer.pro
mpegplayer/libflash/libflash.pro mpegplayer/libmad/Makefile.in
mpegplayer/libmad/libmad.pro mpegplayer/libmpeg3/Makefile.in
mpegplayer/libmpeg3/libmpeg3.pro
mpegplayer/libmpeg3/audio/Makefile
mpegplayer/libmpeg3/video/Makefile
mpegplayer/wavplugin/Makefile.in
mpegplayer/wavplugin/wavplugin.pro netsetup/Makefile.in
netsetup/README netsetup/netsetup.pro
netsetup/dialup/Makefile.in netsetup/dialup/dialup.pro
netsetup/lan/Makefile.in netsetup/lan/lan.pro
parashoot/Makefile.in parashoot/parashoot.pro
qasteroids/Makefile.in qasteroids/qasteroids.pro
qcop/Makefile.in qcop/qcop.pro qipkg/Makefile.in
qipkg/qipkg.pro scripts/q_functions
settings/appearance/Makefile.in
settings/appearance/appearance.pro
settings/language/Makefile.in settings/language/language.pro
settings/light-and-power/Makefile.in
settings/light-and-power/light-and-power.pro
settings/rotation/Makefile.in settings/rotation/rotation.pro
settings/security/Makefile.in settings/security/security.pro
settings/sound/Makefile.in settings/sound/sound.pro
settings/systemtime/Makefile.in
settings/systemtime/systemtime.pro showimg/Makefile.in
showimg/showimg.pro single/Makefile.in single/single.pro
snake/Makefile.in snake/snake.pro solitaire/Makefile.in
solitaire/solitaire.pro spreadsheet/Makefile.in
spreadsheet/spreadsheet.pro sysinfo/Makefile.in
sysinfo/sysinfo.pro tableviewer/tableviewer.pro
taskbar/Makefile.in taskbar/main.cpp taskbar/taskbar.pro
taskbar/batteryapplet/Makefile.in
taskbar/batteryapplet/batteryapplet.pro
taskbar/clipboardapplet/clipboardapplet.pro
taskbar/clockapplet/Makefile.in
taskbar/clockapplet/clockapplet.pro
taskbar/netmonapplet/Makefile.in
taskbar/netmonapplet/netmonapplet.pro
taskbar/volumeapplet/Makefile.in
taskbar/volumeapplet/volumeapplet.pro tetrix/Makefile.in
tetrix/tetrix.pro textedit/Makefile.in textedit/textedit.pro
todo/Makefile.in todo/todo.pro tux/Makefile.in tux/tux.pro
website/htdocs/build.html website/htdocs/development.html
website/htdocs/refman/qcop.html
website/htdocs/refman/qpeapplication.html wordgame/Makefile.in
wordgame/wordgame.pro
Log Message:
Changed QPEDIR to OPIEDIR in .pro files, and documentation,
and regenerated all Makefile.in's that were affected.
-rw-r--r-- | core/launcher/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/launcher/main.cpp b/core/launcher/main.cpp index 024f9cc..12c2a7c 100644 --- a/core/launcher/main.cpp +++ b/core/launcher/main.cpp | |||
@@ -64,49 +64,49 @@ void initCassiopeia() | |||
64 | /* | 64 | /* |
65 | if ( mount("/dev/ram0", "/", "ext2", MS_REMOUNT | MS_MGC_VAL, 0 ) ) { | 65 | if ( mount("/dev/ram0", "/", "ext2", MS_REMOUNT | MS_MGC_VAL, 0 ) ) { |
66 | perror("Remounting - / read/write"); | 66 | perror("Remounting - / read/write"); |
67 | } | 67 | } |
68 | */ | 68 | */ |
69 | if ( mount("none", "/tmp", "ramfs", 0, 0 ) ) { | 69 | if ( mount("none", "/tmp", "ramfs", 0, 0 ) ) { |
70 | perror("mounting ramfs /tmp"); | 70 | perror("mounting ramfs /tmp"); |
71 | } else { | 71 | } else { |
72 | fprintf( stderr, "mounted /tmp\n" ); | 72 | fprintf( stderr, "mounted /tmp\n" ); |
73 | } | 73 | } |
74 | if ( mount("none", "/home", "ramfs", 0, 0 ) ) { | 74 | if ( mount("none", "/home", "ramfs", 0, 0 ) ) { |
75 | perror("mounting ramfs /home"); | 75 | perror("mounting ramfs /home"); |
76 | } else { | 76 | } else { |
77 | fprintf( stderr, "mounted /home\n" ); | 77 | fprintf( stderr, "mounted /home\n" ); |
78 | } | 78 | } |
79 | if ( mount("none","/proc","proc",0,0) ) { | 79 | if ( mount("none","/proc","proc",0,0) ) { |
80 | perror("Mounting - /proc"); | 80 | perror("Mounting - /proc"); |
81 | } else { | 81 | } else { |
82 | fprintf( stderr, "mounted /proc\n" ); | 82 | fprintf( stderr, "mounted /proc\n" ); |
83 | } | 83 | } |
84 | if ( mount("none","/mnt","shm",0,0) ) { | 84 | if ( mount("none","/mnt","shm",0,0) ) { |
85 | perror("Mounting - shm"); | 85 | perror("Mounting - shm"); |
86 | } | 86 | } |
87 | setenv( "QTDIR", "/", 1 ); | 87 | setenv( "QTDIR", "/", 1 ); |
88 | setenv( "QPEDIR", "/", 1 ); | 88 | setenv( "OPIEDIR", "/", 1 ); |
89 | setenv( "HOME", "/home", 1 ); | 89 | setenv( "HOME", "/home", 1 ); |
90 | mkdir( "/home/Documents", 0755 ); | 90 | mkdir( "/home/Documents", 0755 ); |
91 | 91 | ||
92 | // set a reasonable starting date | 92 | // set a reasonable starting date |
93 | QDateTime dt( QDate( 2001, 3, 15 ) ); | 93 | QDateTime dt( QDate( 2001, 3, 15 ) ); |
94 | QDateTime now = QDateTime::currentDateTime(); | 94 | QDateTime now = QDateTime::currentDateTime(); |
95 | int change = now.secsTo( dt ); | 95 | int change = now.secsTo( dt ); |
96 | 96 | ||
97 | time_t t = ::time(0); | 97 | time_t t = ::time(0); |
98 | t += change; | 98 | t += change; |
99 | stime(&t); | 99 | stime(&t); |
100 | 100 | ||
101 | qInstallMsgHandler(ignoreMessage); | 101 | qInstallMsgHandler(ignoreMessage); |
102 | } | 102 | } |
103 | #endif | 103 | #endif |
104 | 104 | ||
105 | #ifdef QPE_OWNAPM | 105 | #ifdef QPE_OWNAPM |
106 | #include <sys/ioctl.h> | 106 | #include <sys/ioctl.h> |
107 | #include <sys/types.h> | 107 | #include <sys/types.h> |
108 | #include <fcntl.h> | 108 | #include <fcntl.h> |
109 | #include <unistd.h> | 109 | #include <unistd.h> |
110 | #include <errno.h> | 110 | #include <errno.h> |
111 | #include <linux/ioctl.h> | 111 | #include <linux/ioctl.h> |
112 | #include <qpe/global.h> | 112 | #include <qpe/global.h> |