X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=wrt-init;h=c222a5c6e00576c9d58ce6797c88bd44767b6a6a;hb=d8024901625ccaec69197c28a7c6db34cc7ce616;hp=ebfac9c276f1eeaba95551fda2039ee210ce6987;hpb=051fc89e27bd812a1a45292f6d2a18803ce6f394;p=automated-distro-installer diff --git a/wrt-init b/wrt-init index ebfac9c..c222a5c 100755 --- a/wrt-init +++ b/wrt-init @@ -1,5 +1,5 @@ #!/bin/sh -set -x +set -xe # librecmc 1.5.1 is missing nfs-kernel-server and screen source /etc/os-release if [ "$ID" == librecmc ] && [ "$VERSION" == v1.5.1-core ]; then @@ -13,6 +13,13 @@ if ! opkg list-installed|grep bash; then opkg update opkg install bash fi + +if [ -f /root/bash-bear ]; then + mkdir -p /usr/local/lib + mv /root/bash-bear /usr/local/lib +fi + +# this isnt used anymore export HOME_DOMAIN=$1 shift wrt-setup-local "$@"