Moved more ZFS things into 'zfs.sh'
This commit is contained in:
40
post-inst.sh
40
post-inst.sh
@@ -33,45 +33,7 @@ cat << EOF
|
||||
EOF
|
||||
|
||||
|
||||
source \
|
||||
/etc/os-release
|
||||
|
||||
source \
|
||||
"${baseDir}/system.conf"
|
||||
|
||||
|
||||
# if [[ ! "${*}" = *--no-part* ]]; then
|
||||
zfs create\
|
||||
${hostname,,}/home/${username}
|
||||
|
||||
zfs create\
|
||||
${hostname,,}/home/${username}/.config
|
||||
|
||||
zfs create\
|
||||
-o canmount=off\
|
||||
${hostname,,}/home/${username}/.var
|
||||
|
||||
zfs create\
|
||||
${hostname,,}/home/${username}/.var/app
|
||||
|
||||
zfs create\
|
||||
-o canmount=off\
|
||||
${hostname,,}/home/${username}/.local
|
||||
|
||||
zfs create\
|
||||
-o canmount=off\
|
||||
${hostname,,}/home/${username}/.local/share
|
||||
|
||||
zfs create\
|
||||
${hostname,,}/home/${username}/.local/share/flatpak
|
||||
|
||||
printf \
|
||||
'Adding user account...\n'
|
||||
|
||||
adduser ${username}
|
||||
# else
|
||||
# adduser --no-create-home ${username}
|
||||
# fi
|
||||
"${baseDir}/zfs.sh" --home
|
||||
|
||||
"${baseDir}/adduser.sh"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user