# Created by Tobias Powalowski <tpowa@archlinux.org>

install ()
{
    MODULES=""
    BINARIES="groups login nologin chage chfn chsh expiry faillog gpasswd lastlog passwd adduser chgpasswd chpasswd groupadd groupdel groupmems groupmod grpck grpconv grpunconv logoutd newusers pwck pwconv pwunconv useradd userdel usermod sg vigr"
    FILES=""
    SCRIPT=""
    for i in $(echo /usr/share/archboot/shadow/etc/*/*); do
    	add_file "$i" "$(echo $i | sed -e 's|/usr/share/archboot/shadow/etc|/etc|g')"
    done
    for i in $(echo /usr/share/archboot/shadow/etc/*.defs); do
    	add_file "$i" "$(echo $i | sed -e 's|/usr/share/archboot/shadow/etc|/etc|g')"
    done
}

help ()
{
cat<<HELPEOF
  This hook includes the shadow on an arch boot image.
HELPEOF
} 