various fixes
[automated-distro-installer] / wrt-init
index ebfac9c276f1eeaba95551fda2039ee210ce6987..d6e9817da2a08cfb52f3a87d108de047cb787fc7 100755 (executable)
--- a/wrt-init
+++ b/wrt-init
@@ -13,6 +13,13 @@ if ! opkg list-installed|grep bash; then
   opkg update
   opkg install bash
 fi
+
+if [ -f /root/err ]; then
+  mkdir -p /usr/local/lib
+  mv /root/err /usr/local/lib
+fi
+
+# this isnt used anymore
 export HOME_DOMAIN=$1
 shift
 wrt-setup-local "$@"