diff options
author | root <root@rshg054.dnsready.net> | 2012-07-05 00:02:54 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-07-05 00:02:54 +0000 |
commit | 7f6f69dc52c8601768ba48fa7b69507a80d532cb (patch) | |
tree | 028dd3e49c2080a2ab59860c0a20b3a8dfe5cdbf /community/cdemu-daemon/cdemu-daemon.install | |
parent | 298f654d4656dcc1e8d78c37dd77ae2ebfc1bf5f (diff) |
Thu Jul 5 00:02:54 UTC 2012
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: |