qi-emdebian

preinit-config

11:76e07972f125
6 months ago Paul Boddie Added apt to the list of necessary (or at least very useful) packages.
     1 #!/usr/lib/busybox/sh
     2 
     3 echo "Starting..."
     4 mount -t proc proc /proc
     5 mount -t sysfs sys /sys
     6 
     7 echo "Configuring dash..."
     8 /var/lib/dpkg/info/dash.preinst install
     9 
    10 echo "Configuring..."
    11 export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true
    12 export LC_ALL=C LANGUAGE=C LANG=C
    13 /usr/bin/dpkg --configure -a
    14 
    15 echo "Removing the root password for the time being..."
    16 passwd -d root
    17 
    18 echo "Finished configuring."