diff options
Diffstat (limited to 'usr.sbin/sade/config.c')
-rw-r--r-- | usr.sbin/sade/config.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c index ca87140..f818d5f 100644 --- a/usr.sbin/sade/config.c +++ b/usr.sbin/sade/config.c @@ -578,6 +578,22 @@ configGated(dialogMenuItem *self) return ret; } +/* Load novell client/server package */ +int +configNovell(dialogMenuItem *self) +{ + int ret = DITEM_SUCCESS; + + if (variable_get(VAR_NOVELL)) + variable_unset(VAR_NOVELL); + else { + ret = package_add("commerce/netcon/bsd60"); + if (DITEM_STATUS(ret) == DITEM_SUCCESS) + variable_set2(VAR_NOVELL, "YES"); + } + return ret; +} + /* Load pcnfsd package */ int configPCNFSD(dialogMenuItem *self) |