56 |
id = "smeserver" |
id = "smeserver" |
57 |
name = N_("New _SME Server Install") |
name = N_("New _SME Server Install") |
58 |
pixmap = "smeserver.png" |
pixmap = "smeserver.png" |
59 |
|
description = N_("This option performs a new install of " |
60 |
|
"SME Server. All attached hard drives " |
61 |
|
"will be repartitioned and formated.") |
62 |
sortPriority = 1 |
sortPriority = 1 |
63 |
|
|
64 |
parentClass = ( _("Install SME Server"), "smeserver.png" ) |
parentClass = ( _("Install SME Server"), "smeserver.png" ) |
173 |
grpset.selectGroup("Base") |
grpset.selectGroup("Base") |
174 |
|
|
175 |
def postAction(self, rootPath, serial): |
def postAction(self, rootPath, serial): |
176 |
script = "/sbin/syslogd &\nsleep 2\n/sbin/e-smith/signal-event post-install\n" |
script = ( "/sbin/syslogd &\n" |
177 |
|
"sleep 2\n" |
178 |
|
"/sbin/e-smith/signal-event post-install\n" ) |
179 |
s = Script(script, interp="/bin/sh", inChroot=1) |
s = Script(script, interp="/bin/sh", inChroot=1) |
180 |
log("%s", s) |
log("%s", s) |
181 |
s.run(rootPath, serial) |
s.run(rootPath, serial) |