mirror of
https://github.com/OpenRC/openrc.git
synced 2026-01-26 08:27:52 +00:00
sh/init.sh.Linux: make uucp group configurable
Closes: https://github.com/OpenRC/openrc/pull/730
This commit is contained in:
parent
215ffbc192
commit
3e25dd6659
@ -24,6 +24,8 @@ option('sysvinit', type : 'boolean', value : false,
|
||||
description : 'enable SysVinit compatibility (linux only)')
|
||||
option('zsh-completions', type : 'boolean',
|
||||
description : 'install zsh completions')
|
||||
option('uucp_group', type : 'string', value : 'uucp',
|
||||
description : 'group to use for /run/lock')
|
||||
option('agetty', type: 'array',
|
||||
value: ['tty1', 'tty2', 'tty3', 'tty4', 'tty5', 'tty6'],
|
||||
description : 'agetty symlinks to install when sysvinit is also specified')
|
||||
|
||||
@ -83,7 +83,7 @@ elif ! mountinfo -q /run; then
|
||||
fi
|
||||
|
||||
checkpath -d "$RC_SVCDIR"
|
||||
checkpath -d -m 0775 -o root:uucp /run/lock
|
||||
checkpath -d -m 0775 -o root:@UUCP_GROUP@ /run/lock
|
||||
|
||||
# Try to mount xenfs as early as possible, otherwise rc_sys() will always
|
||||
# return RC_SYS_XENU and will think that we are in a domU while it's not.
|
||||
|
||||
@ -6,6 +6,7 @@ sh_conf_data.set('PKG_PREFIX', pkg_prefix)
|
||||
sh_conf_data.set('SBINDIR', sbindir)
|
||||
sh_conf_data.set('SHELL', get_option('shell'))
|
||||
sh_conf_data.set('SYSCONFDIR', get_option('sysconfdir'))
|
||||
sh_conf_data.set('UUCP_GROUP', get_option('uucp_group'))
|
||||
|
||||
sh = [
|
||||
'rc-functions.sh',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user