#!/bin/sh -vx

post_install() {
install -b -Dm644 etc/resolv.conf.lf "etc/resolv.conf"
install -b -Dm644 etc/hostname.lf "etc/hostname"
install -b -Dm644 etc/skel/.bash_logout.lf "etc/skel/.bash_logout"
install -b -Dm644 etc/skel/.bashrc.lf "etc/skel/.bashrc"
rm etc/skel/.bashrc.lf etc/skel/.bash_logout.lf etc/resolv.conf.lf etc/hostname.lf

groupadd libvirt
groupadd -g 108 vboxusers
useradd -u 1000 -mU --groups adm,disk,lp,wheel,log,rfkill,network,video,audio,optical,floppy,storage,scanner,power,users,vboxusers,libvirt -s /bin/bash live
echo -e "woofwoof\nwoofwoof\n" |passwd root
echo -e "woofwoof\nwoofwoof\n" |passwd live

systemctl enable dhcpcd
systemctl enable iwd
}

post_upgrade() {
  post_install
}


