From Silly Mosquito, 5 Months ago, written in Plain Text.
Embed
  1.  
  2. #!/usr/bin/openrc-run
  3. # Copyright 1999-2012 Gentoo Foundation
  4. # Released under the 2-clause BSD license.
  5.  
  6. description="Set up tmpfiles.d entries"
  7.  
  8. depend()
  9. {
  10.         provide tmpfiles-setup tmpfiles.setup
  11.         need localmount
  12. }
  13.  
  14. start()
  15. {
  16.  
  17.     ebegin "Setting up tmpfiles.d entries"
  18.     mkdir -p /etc/pam.d
  19.         tmpfiles --exclude-prefix=/dev --create --remove --boot \
  20.                 ${tmpfiles_opts}
  21.         eend $?
  22. }