core/cdemu-daemon/cdemu-daemon.install

43 lines
1.1 KiB
Plaintext
Raw Normal View History

2012-08-29 15:20:09 +08:00
post_install () {
cat <<MSG
2015-01-05 21:55:25 +08:00
> Only users with at a physical terminal or in the 'cdemu'
group can communicate with the system daemon or make use
of a session daemon.
2012-08-29 15:20:09 +08:00
2015-01-05 21:55:25 +08:00
> If you want to output CD-Audio you need to use a session
daemon, e.g. via "cdemu -b session". If you use ALSA and
not PulseAudio, echo AUDIO_DRIVER=alsa > ~/.cdemu-daemon
> The daemons are usually started on-demand, but a system
daemon can be manually started via cdemu-daemon.service.
See /etc/conf.d/cdemu-daemon for further configuration.
2012-08-29 15:20:09 +08:00
MSG
2015-01-05 21:55:25 +08:00
post_upgrade $1 $1
modprobe vhba
2012-08-29 15:20:09 +08:00
return 0
}
post_upgrade () {
2015-01-05 21:55:25 +08:00
if (( $(vercmp $2 2.0.0) < 0)); then
cat <<MSG
> Configuration files and log files have been renamed in
order to bring Chakra closer to upstream. In particular,
this affects:
/etc/conf.d/cdemud --> /etc/conf.d/cdemu-daemon
2015-01-05 21:55:25 +08:00
/var/log/cdemud.log --> /var/log/cdemu-daemon.log
~/.cdemud --> ~/.cdemu-daemon
2015-01-05 21:55:25 +08:00
~/.cdemud.log --> ~/.cdemu-daemon.log
Please move your configuration.
2012-08-29 15:20:09 +08:00
2015-01-05 21:55:25 +08:00
MSG
fi
2013-01-08 05:15:52 +08:00
2012-08-29 15:20:09 +08:00
return 0
}
2015-01-05 21:55:25 +08:00
# vim:set ts=2 sw=2 et: