archboot/install/arch_shadow_lowmem

22 lines
538 B
Text
Raw Normal View History

# Created by Tobias Powalowski <tpowa@archlinux.org>
install ()
{
MODULES=""
BINARIES="login"
FILES=""
SCRIPT=""
for i in $(echo /etc/archboot/etc/shadow-config/*/*); do
add_file "$i" "$(echo $i | sed -e 's|/etc/archboot/etc/shadow-config|/etc|g')"
done
for i in $(echo /etc/archboot/etc/shadow-config/*.defs); do
add_file "$i" "$(echo $i | sed -e 's|/etc/archboot/etc/shadow-config|/etc|g')"
done
}
help ()
{
cat<<HELPEOF
This hook includes the shadow on a lowmem arch boot image.
HELPEOF
}