mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
samba: Keep create_group in setup
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
da39f593f1
commit
b5cb35fb91
@ -28,7 +28,7 @@ from plinth import action_utils, actions
|
|||||||
from plinth import app as app_module
|
from plinth import app as app_module
|
||||||
from plinth import frontpage, menu
|
from plinth import frontpage, menu
|
||||||
from plinth.daemon import Daemon
|
from plinth.daemon import Daemon
|
||||||
from plinth.modules.users import register_group
|
from plinth.modules.users import create_group, register_group
|
||||||
from plinth.modules.firewall.components import Firewall
|
from plinth.modules.firewall.components import Firewall
|
||||||
from plinth.utils import format_lazy
|
from plinth.utils import format_lazy
|
||||||
|
|
||||||
@ -104,6 +104,7 @@ def init():
|
|||||||
def setup(helper, old_version=None):
|
def setup(helper, old_version=None):
|
||||||
"""Install and configure the module."""
|
"""Install and configure the module."""
|
||||||
helper.install(managed_packages)
|
helper.install(managed_packages)
|
||||||
|
create_group('freedombox-share')
|
||||||
helper.call('post', actions.superuser_run, 'samba', ['setup'])
|
helper.call('post', actions.superuser_run, 'samba', ['setup'])
|
||||||
helper.call('post', app.enable)
|
helper.call('post', app.enable)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user