summaryrefslogtreecommitdiff
path: root/volinit-std-all
blob: e5e0a3b60b55ffe25298b57af70c3fe815760af5 (plain)
  1. #!/bin/bash
  2. #TODO: generate based on actual config files
  3. #cat AppleVolumes-xayide.jones.dk | egrep '^/' | sed 's!/var/local/netatalk/\(.*\)/\([[:alnum:]]*\)/\([[:alnum:]]*\)/[[:space:]].*!\1 \2 \3!'
  4. [ -f /etc/local/volumes ] || exit 1
  5. . /etc/local/volumes
  6. [ $DISTRIB ] && volinit-netatalk COMMON/C/intro users jonas create
  7. [ $DISTRIB ] && volinit-netatalk COMMON/C/admin admin jonas create
  8. [ $DISTRIB ] && volinit-netatalk COMMON/C/software users jonas create
  9. [ $DISTRIB ] && volinit-netatalk COMMON/da/admin admin jonas create
  10. [ $DISTRIB ] && volinit-netatalk COMMON/da/software users jonas create
  11. [ $DISTRIB ] && volinit-netatalk COMMON/en/admin admin jonas create
  12. [ $DISTRIB ] && volinit-netatalk COMMON/en/software users jonas create
  13. [ $DISTRIB ] && volinit-samba COMMON/C/admin admin jonas create
  14. [ $DISTRIB ] && volinit-samba COMMON/C/software users jonas create
  15. [ $DISTRIB ] && volinit-samba COMMON/da/admin admin jonas create
  16. [ $DISTRIB ] && volinit-samba COMMON/da/software users jonas create
  17. [ $DISTRIB ] && volinit-samba COMMON/en/admin admin jonas create
  18. [ $DISTRIB ] && volinit-samba COMMON/en/software users jonas create
  19. [ $MANAGED ] && volinit-netatalk tmpl users admin create
  20. [ $MANAGED ] && volinit-netatalk software users admin create
  21. [ $MANAGED ] && volinit-netatalk admin admin admin create
  22. [ $MANAGED ] && volinit-samba tmpl users admin create
  23. [ $MANAGED ] && volinit-samba software users admin create
  24. [ $MANAGED ] && volinit-samba admin admin admin create
  25. [ $ANARCHY ] && volinit-netatalk doc users users create
  26. #[ $ANARCHY ] && volinit-netatalk misc users users create
  27. [ $ANARCHY ] && volinit-samba doc users users create
  28. #[ $ANARCHY ] && volinit-samba misc users users create
  29. [ $PRIVATE ] && volinit-netatalk COMMON/private/C/private jonas jonas create
  30. [ $PRIVATE ] && volinit-netatalk COMMON/private/da/private jonas jonas create
  31. [ $PRIVATE ] && volinit-netatalk COMMON/private/en/private jonas jonas create
  32. [ $PRIVATE ] && volinit-samba COMMON/private/C/private jonas jonas create
  33. [ $PRIVATE ] && volinit-samba COMMON/private/da/private jonas jonas create
  34. [ $PRIVATE ] && volinit-samba COMMON/private/en/private jonas jonas create
  35. [ $XCHANGE ] && volinit-xchange ./ users root create
  36. [ $PUBLIC ] && volinit-public ./ users users create