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

Mini fixes to cgi-adm, rcS
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 19 23:05:58 2014 +0200 (2014-04-19)
parents a02d52c27190
children 30880db2d56f
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 "$user account was created. Do you want X autologin ?"
24 #dialog --yesno "Do you wish to setup a network connection ?"
25 #slitaz-config network_connection
27 # No post install on next boot.
28 mkdir -p /var/lib/slitaz
29 echo "$ARCH" > /var/lib/slitaz/post-install
31 # Run packages post_install since when we generate a distro from
32 # an i486 machine we can't chroot and run ARM binaries. If we don't
33 # run some post_install we will miss gtk icon, pango modules, etc...
34 clear && newline
35 colorize 33 "Reconfiguring all SliTaz packages..."
36 spk reconf --all