configscript.sh 359 B

12345678910111213141516
  1. #!/bin/sh
  2. set -e
  3. #set up non-interactive configuration
  4. export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true
  5. export LC_ALL=C LANGUAGE=C LANG=C
  6. #run pre installation script
  7. /var/lib/dpkg/info/dash.preinst install
  8. #configuring packages
  9. dpkg --configure -a
  10. mount proc -t proc /proc
  11. dpkg --configure -a
  12. umount /proc
  13. echo "root:root" |chpasswd