static usb ethnet addresses
[automated-distro-installer] / wrt-init
index 0df2e12c37d1859b333dee7901e3e9adad631c98..45425b6923817170ca920fb78a7985b217999893 100755 (executable)
--- 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