ip config changes, do kernel upgrades
[automated-distro-installer] / wrt-init
index d6e9817da2a08cfb52f3a87d108de047cb787fc7..c222a5c6e00576c9d58ce6797c88bd44767b6a6a 100755 (executable)
--- 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
@@ -14,9 +14,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