slitaz-arm view rootfs/etc/init.d/post-install.sh @ rev 110

Add /etc/init.d/post-install.sh
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 18 15:17:49 2014 +0200 (2014-04-18)
parents
children c34a9ff05fd1
line source
1 #!/bin/sh
2 #
3 # /etc/init.d/post-install.sh: SliTaz ARM post installation script
4 #
5 # Copyright (C) 2014 SliTaz ARM - BSD License
6 #
7 . /lib/libtaz.sh
9 # Exit fbs
10 if [ -f "/fbs.fifo" ]; then
11 echo "exit" > /fbs.fifo && rm -f /fbs.fifo
12 usleep 500000
13 fi
15 # Welcome/About
16 slitaz-config about_post_install
18 [ -s /etc/keymap.conf ] || tazkeymap
19 #[ -s /etc/locale.conf ] || tazlocale
21 slitaz-config root_passwd
22 slitaz-config add_user
23 #dialog --yesno "Do you wish to setup a network connection ?"
24 #slitaz-config network_connection
26 # No post install on next boot.
27 echo "$ARCH" > /var/lib/slitaz/post-install
29 # Run packages post_install since when we generate a distro from
30 # an i486 machine we can't chroot and run ARM binaries. If we don't
31 # run some post_install we will miss gtk icon, pango modules, etc...
32 clear && newline
33 colorize 33 "Reconfiguring all SliTaz packages..."
34 spk reconf --all