summaryrefslogtreecommitdiff
path: root/noncore
Unidiff
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/fixit.h2
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
27FixIt::FixIt() { 28FixIt::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