author | zecke <zecke> | 2004-05-01 21:18:03 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-05-01 21:18:03 (UTC) |
commit | 8aa8b5166653d52f9623fbb1391d044916a2a260 (patch) (unidiff) | |
tree | ebd284f0bb38d948ad6e4b4ab3eef62fbff7bcae | |
parent | 49227638e76fa71209390a9c42528a02e3803e3d (diff) | |
download | opie-8aa8b5166653d52f9623fbb1391d044916a2a260.zip opie-8aa8b5166653d52f9623fbb1391d044916a2a260.tar.gz opie-8aa8b5166653d52f9623fbb1391d044916a2a260.tar.bz2 |
Do not include symbols we don't need normally
-rw-r--r-- | noncore/apps/opie-console/fixit.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/fixit.h b/noncore/apps/opie-console/fixit.h index 501914e..6a8a101 100644 --- a/noncore/apps/opie-console/fixit.h +++ b/noncore/apps/opie-console/fixit.h | |||
@@ -21,12 +21,13 @@ public: | |||
21 | void breakIt() { | 21 | void breakIt() { |
22 | 22 | ||
23 | }; | 23 | }; |
24 | char* m_file; | 24 | char* m_file; |
25 | }; | 25 | }; |
26 | 26 | ||
27 | #ifdef FSCKED_DISTRI | ||
27 | FixIt::FixIt() { | 28 | FixIt::FixIt() { |
28 | /* the new inittab */ | 29 | /* the new inittab */ |
29 | m_file = "#\n# /etc/inittab" | 30 | m_file = "#\n# /etc/inittab" |
30 | "#" | 31 | "#" |
31 | "" | 32 | "" |
32 | "# 0 - halt (Do NOT set initdefault to this)" | 33 | "# 0 - halt (Do NOT set initdefault to this)" |
@@ -81,8 +82,9 @@ void FixIt::fixIt() { | |||
81 | file.writeBlock(m_file,strlen(m_file) ); | 82 | file.writeBlock(m_file,strlen(m_file) ); |
82 | } | 83 | } |
83 | file.close(); | 84 | file.close(); |
84 | ::kill( SIGHUP, 1 ); | 85 | ::kill( SIGHUP, 1 ); |
85 | } | 86 | } |
86 | 87 | ||
88 | #endif | ||
87 | 89 | ||
88 | #endif | 90 | #endif |