| 46 | | |
| 47 | | # Setup the Localization |
| 48 | | if [ "${LANG}" != "en" ] |
| 49 | | then |
| 50 | | # Copy the right splash screen over |
| 51 | | cp ${FSMNT}/PCBSD/splash-screens/loading-screen-${LANG}.pcx ${FSMNT}/boot/loading-screen.pcx |
| 52 | | # Run the Localize script |
| 53 | | /usr/local/pcbsd/scripts/PCBSD.Localize.sh ${LANG} ${KEYLAYOUT} |
| 54 | | else |
| 55 | | |
| 56 | | # Remove the keyboard switcher from loading |
| 57 | | rm ${FSMNT}/usr/share/skel/.kde4/share/config/kxkbrc |
| 58 | | rm ${FSMNT}/root/.kde4/share/config/kxkbrc |
| 59 | | |
| 60 | | # Remove it from the user profiles as well |
| 61 | | cd ${FSMNT}/usr/home |
| 62 | | for i in `ls` |
| 63 | | do |
| 64 | | rm ${FSMNT}/usr/home/${i}/.kde4/share/config/kxkbrc |
| 65 | | done |
| 66 | | cd / |
| 67 | | |
| 68 | | fi |
| 69 | | |
| 70 | | # Copy over some of the skel files to /root |
| 71 | | cp ${FSMNT}/usr/share/skel/dot.cshrc ${FSMNT}/root/.cshrc |
| 72 | | |
| | 116 | # Setup the Localization |
| | 117 | if [ "${LANG}" != "en" ] |
| | 118 | then |
| | 119 | # Copy the right splash screen over |
| | 120 | cp ${FSMNT}/PCBSD/splash-screens/loading-screen-${LANG}.pcx ${FSMNT}/boot/loading-screen.pcx |
| | 121 | # Run the Localize script |
| | 122 | /usr/local/pcbsd/scripts/PCBSD.Localize.sh ${LANG} ${KEYLAYOUT} |
| | 123 | else |
| | 124 | |
| | 125 | # Remove the keyboard switcher from loading |
| | 126 | rm ${FSMNT}/usr/share/skel/.kde4/share/config/kxkbrc |
| | 127 | rm ${FSMNT}/root/.kde4/share/config/kxkbrc |
| | 128 | |
| | 129 | # Remove it from the user profiles as well |
| | 130 | cd ${FSMNT}/usr/home |
| | 131 | for i in `ls` |
| | 132 | do |
| | 133 | rm ${FSMNT}/usr/home/${i}/.kde4/share/config/kxkbrc |
| | 134 | done |
| | 135 | cd / |
| | 136 | |
| | 137 | fi |
| | 138 | |
| | 139 | # Copy over some of the skel files to /root |
| | 140 | cp ${FSMNT}/usr/share/skel/dot.cshrc ${FSMNT}/root/.cshrc |
| | 141 | |