X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=wrt-init;h=45425b6923817170ca920fb78a7985b217999893;hb=HEAD;hp=0df2e12c37d1859b333dee7901e3e9adad631c98;hpb=7894812298494ef9a704d54bca3fd1f3bbf88f5f;p=automated-distro-installer diff --git a/wrt-init b/wrt-init index 0df2e12..45425b6 100755 --- a/wrt-init +++ b/wrt-init @@ -1,4 +1,21 @@ #!/bin/sh +# This file is part of Ian Kelling's automated-distro-installer +# Copyright (C) 2024 Ian Kelling + +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + set -xe # librecmc 1.5.1 is missing nfs-kernel-server and screen source /etc/os-release @@ -14,9 +31,9 @@ if ! opkg list-installed|grep bash; then opkg install bash fi -if [ -f /root/err ]; then +if [ -f /root/bash-bear ]; then mkdir -p /usr/local/lib - mv /root/err /usr/local/lib + mv /root/bash-bear /usr/local/lib fi # this isnt used anymore