blob: e5e0a3b60b55ffe25298b57af70c3fe815760af5 (
plain)
- #!/bin/bash
- #TODO: generate based on actual config files
- #cat AppleVolumes-xayide.jones.dk | egrep '^/' | sed 's!/var/local/netatalk/\(.*\)/\([[:alnum:]]*\)/\([[:alnum:]]*\)/[[:space:]].*!\1 \2 \3!'
- [ -f /etc/local/volumes ] || exit 1
- . /etc/local/volumes
- [ $DISTRIB ] && volinit-netatalk COMMON/C/intro users jonas create
- [ $DISTRIB ] && volinit-netatalk COMMON/C/admin admin jonas create
- [ $DISTRIB ] && volinit-netatalk COMMON/C/software users jonas create
- [ $DISTRIB ] && volinit-netatalk COMMON/da/admin admin jonas create
- [ $DISTRIB ] && volinit-netatalk COMMON/da/software users jonas create
- [ $DISTRIB ] && volinit-netatalk COMMON/en/admin admin jonas create
- [ $DISTRIB ] && volinit-netatalk COMMON/en/software users jonas create
- [ $DISTRIB ] && volinit-samba COMMON/C/admin admin jonas create
- [ $DISTRIB ] && volinit-samba COMMON/C/software users jonas create
- [ $DISTRIB ] && volinit-samba COMMON/da/admin admin jonas create
- [ $DISTRIB ] && volinit-samba COMMON/da/software users jonas create
- [ $DISTRIB ] && volinit-samba COMMON/en/admin admin jonas create
- [ $DISTRIB ] && volinit-samba COMMON/en/software users jonas create
- [ $MANAGED ] && volinit-netatalk tmpl users admin create
- [ $MANAGED ] && volinit-netatalk software users admin create
- [ $MANAGED ] && volinit-netatalk admin admin admin create
- [ $MANAGED ] && volinit-samba tmpl users admin create
- [ $MANAGED ] && volinit-samba software users admin create
- [ $MANAGED ] && volinit-samba admin admin admin create
- [ $ANARCHY ] && volinit-netatalk doc users users create
- #[ $ANARCHY ] && volinit-netatalk misc users users create
- [ $ANARCHY ] && volinit-samba doc users users create
- #[ $ANARCHY ] && volinit-samba misc users users create
- [ $PRIVATE ] && volinit-netatalk COMMON/private/C/private jonas jonas create
- [ $PRIVATE ] && volinit-netatalk COMMON/private/da/private jonas jonas create
- [ $PRIVATE ] && volinit-netatalk COMMON/private/en/private jonas jonas create
- [ $PRIVATE ] && volinit-samba COMMON/private/C/private jonas jonas create
- [ $PRIVATE ] && volinit-samba COMMON/private/da/private jonas jonas create
- [ $PRIVATE ] && volinit-samba COMMON/private/en/private jonas jonas create
- [ $XCHANGE ] && volinit-xchange ./ users root create
- [ $PUBLIC ] && volinit-public ./ users users create
|