From 6491e409a93d6a07f7d6f0888697c524487bc643 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Tue, 31 Jul 2012 19:52:09 -0300 Subject: Adjust rc.conf for recent initscripts changes * We use a rc.conf file loser to the upstream default. * Use the recommend config files to setup hostname, locale, timezone and console EDIT (Gerardo): Add empty FONT= and use ln -f for localtime Signed-off-by: Pierre Schmitz Signed-off-by: Gerardo Exequiel Pozzi --- .../releng/root-image/etc/rc.d/functions.d/prepare_locale_gen | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 configs/releng/root-image/etc/rc.d/functions.d/prepare_locale_gen (limited to 'configs/releng/root-image/etc/rc.d/functions.d/prepare_locale_gen') diff --git a/configs/releng/root-image/etc/rc.d/functions.d/prepare_locale_gen b/configs/releng/root-image/etc/rc.d/functions.d/prepare_locale_gen deleted file mode 100644 index 47ed79d..0000000 --- a/configs/releng/root-image/etc/rc.d/functions.d/prepare_locale_gen +++ /dev/null @@ -1,11 +0,0 @@ -prepare_locale_gen () -{ - if [[ ${LOCALE} != "en_US.UTF-8" ]]; then - stat_busy "Generating locales..." - sed -i "s/#\(${LOCALE/[@.]*}\)/\1/" /etc/locale.gen - /usr/sbin/locale-gen > /dev/null - stat_done - fi -} - -add_hook sysinit_postmount prepare_locale_gen -- cgit v1.2.3-54-g00ecf