mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
Updated patches. Some were no longer necessary, some needed refresh. Also added one patch from gentoo and one from void. Adjust the build configuration: the --with-confdir switch was pointing to the openrc conf.d, but what is expected is where automount will find the autofs.conf file added --enable-force-shutdown switch (possibly temporary, needs more testing) changed --sysconfigdir switch to the system sysconfdir, now that the --with-confdir is set as expected stop removing the autofs(5) manpage added etc/autofs/auto.master.d directory, which is referenced in the etc/autofs/auto.master file Get logging working for automount: Because the initd script is using the supervise-daemon supervisor and starting automount with the -f (foreground) switch, all logging from automount is lost to stderr. Add supervise-daemon stderr logfile to remedy the situation.
15 lines
317 B
Bash
15 lines
317 B
Bash
#!/sbin/openrc-run
|
|
supervisor=supervise-daemon
|
|
supervise_daemon_args="--stderr ${automount_logpath:-/var/log/automount.log}"
|
|
|
|
name="${RC_SVCNAME}"
|
|
description="Kernel-based automounter"
|
|
|
|
command=/usr/sbin/automount
|
|
command_args="$automount_opts"
|
|
command_args_foreground="-f"
|
|
|
|
depend() {
|
|
need net
|
|
after firewall
|
|
}
|