syssetup/bootstrap.wrt.ash

14 lines
219 B
Text
Executable file

#!/bin/ash
if [ -x "$(command -v bash)" ]; then
echo "bash is installed, good"
else
echo "Bash is not here I'll install it"
opkg update
okpkg install bash
fi
# now run the main restore script
./restore.bash