The functions are unnecessary.
Signed-off-by: Martin Schwenke <martin@meltin.net>
defconf KS_DONE_MESSAGE "you may safely reboot your system|System halted.|Power down." \
"<string>" "string indicating kickstart install is complete"
-ks_get_packages ()
-{
- echo "$installdir/templates/RHEL${RHEL_VERSION%%.*}.packages"
-}
-
-ks_get_services ()
-{
- echo "$installdir/templates/RHEL${RHEL_VERSION%%.*}.services"
-}
-
ks_post_config_hook ()
{
if [ "$KS_RHEL_PACKAGES" = "@uto" ] ; then
- KS_RHEL_PACKAGES=$(ks_get_packages) || exit $?
+ KS_RHEL_PACKAGES="$installdir/templates/RHEL${RHEL_VERSION%%.*}.packages"
fi
if [ "$KS_RHEL_SERVICES" = "@uto" ] ; then
- KS_RHEL_SERVICES=$(ks_get_services) || exit $?
+ KS_RHEL_SERVICES="$installdir/templates/RHEL${RHEL_VERSION%%.*}.services"
fi
}