-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 | |||
@@ -76,25 +76,25 @@ void initCassiopeia() | |||
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 | ||