diff options
Diffstat (limited to 'community/cdemu-daemon/cdemu-daemon.install')
-rw-r--r-- | community/cdemu-daemon/cdemu-daemon.install | 37 |
1 files changed, 22 insertions, 15 deletions
diff --git a/community/cdemu-daemon/cdemu-daemon.install b/community/cdemu-daemon/cdemu-daemon.install index 7a3e8a9f5..ba34d1ea0 100644 --- a/community/cdemu-daemon/cdemu-daemon.install +++ b/community/cdemu-daemon/cdemu-daemon.install @@ -1,20 +1,27 @@ -post_upgrade() { - echo " > The 'cdemu' group is now created by vhba-module" - echo " >> you may have to re-add yourself to the group and relogin" - echo - echo " > Daemon can be used in session mode as user, simply run 'cdemud'" - echo " >> you do not need to use the init script in this case" - echo " >> put your configuration in ~/.cdemud instead" +post_install () { + cat <<MSG + > The daemon is automatically started, but can be manually + started via /etc/rc.d/cdemud or cdemu-daemon.service. + > See /etc/conf.d/cdemud for further configuration. + + > Only users at the console or in the 'cdemu' group can + communicate with the system daemon or use a session + daemon. + + > If you want to output CD-Audio, write AUDIO_DRIVER=pulse or + AUDIO_DRIVER=alsa to ~/.cdemud and use "cdemu -b session" + to control a session daemon. +MSG + + return 0 } -post_install () { - echo " > Add yourself to the 'cdemu' group for non-root access" - echo " > Start the daemon as root with /etc/rc.d/cdemud" - echo " > See /etc/conf.d/cdemud for further configuration" - echo - echo " > Daemon can be used in session mode as user, simply run 'cdemud'" - echo " >> you do not need to use the init script in this case" - echo " >> put your configuration in ~/.cdemud instead" +post_upgrade () { + # Repeat install message due to policy changes + # Added on 2012-06-19, remove after a grace period + post_install + + return 0 } # vim:set ts=2 sw=2 et: |