3 # Exit if firstsetup was already done...
4 if [ -e /var
/ipfire
/main
/firstsetup_ok
]; then
8 # Edit the serial console entry at /etc/inittab matching to console parameter.
15 sed -i -e "s|^7:2345:respawn:/sbin/agetty.*|7:2345:respawn:/sbin/agetty ${scon%%,*} ${scon##*,}|g" /etc
/inittab
24 cmdline
=`cat /proc/cmdline`
29 /etc
/init.d
/sysklogd start
30 export LANG
=en_US.utf8
31 /usr
/sbin
/setup
/dev
/tty2 INSTALL
32 if [ "${?}" == "1" ]; then
33 echo Setup not finished. Rebooting ...
37 # plan install pae kernel at next pakfire update if pae is supported
38 if [ ! "$(grep "^flags.
* pae
" /proc/cpuinfo)" == "" ]; then
39 if [ ! -e /opt
/pakfire
/db
/installed
/meta-linux-pae
]; then
40 echo "Name: linux-pae" > /opt
/pakfire
/db
/installed
/meta-linux-pae
41 echo "ProgVersion: 0" >> /opt
/pakfire
/db
/installed
/meta-linux-pae
42 echo "Release: 0" >> /opt
/pakfire
/db
/installed
/meta-linux-pae
43 echo "Name: linux-pae" > /opt
/pakfire
/db
/meta
/meta-linux-pae
44 echo "ProgVersion: 0" >> /opt
/pakfire
/db
/meta
/meta-linux-pae
45 echo "Release: 0" >> /opt
/pakfire
/db
/meta
/meta-linux-pae
49 echo Restarting udev...
51 /sbin
/udevadm hwdb
--update
55 /etc
/init.d
/sysklogd stop
56 touch /var
/ipfire
/main
/firstsetup_ok