Skip to content

Commit

Permalink
Remove entering into bash after installation
Browse files Browse the repository at this point in the history
  • Loading branch information
ayufan authored Sep 14, 2017
1 parent d9f9760 commit 05a533e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions rootfs/make_rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ do_chroot() {
do_install() {
FILE=$(basename "$1")
cp "$1" "$DEST/$(basename "$1")"
do_chroot dpkg -i "$FILE" || do_chroot bash
do_chroot dpkg -i "$FILE"
do_chroot rm "$FILE"
}

Expand Down Expand Up @@ -245,10 +245,7 @@ EOF
;;

openmediavault)
do_chroot /usr/local/sbin/install_openmediavault.sh || do_chroot /bin/bash

echo "AFTER"
do_chroot /bin/bash
do_chroot /usr/local/sbin/install_openmediavault.sh
;;
esac
do_chroot systemctl enable ssh-keygen
Expand Down

0 comments on commit 05a533e

Please sign in to comment.