Browse Source

Merge pull request #16 from sbadia/completion

completion: Enable bash-completion for root user
Émile Morel 10 years ago
parent
commit
d237f74d26
1 changed files with 1 additions and 0 deletions
  1. 1 0
      olinux/create_arm_debootstrap.sh

+ 1 - 0
olinux/create_arm_debootstrap.sh

@@ -117,6 +117,7 @@ chroot_deb $TARGET_DIR 'apt-get update'
 # Add usefull packages
 chroot_deb $TARGET_DIR "apt-get install -y --force-yes openssh-server ntp parted locales vim bash-completion rng-tools $PACKAGES"
 echo 'HRNGDEVICE=/dev/urandom' >> $TARGET_DIR/etc/default/rng-tools
+echo '. /etc/bash_completion' >> $TARGET_DIR/root/.bashrc
 
 # Use dhcp on boot
 cat <<EOT > $TARGET_DIR/etc/network/interfaces