2023-09-15 10:47:51 +08:00
|
|
|
#!/bin/sh
|
2023-09-22 22:59:35 +08:00
|
|
|
check_bash_installed() {
|
|
|
|
if [ -x "/bin/bash" ]; then
|
|
|
|
echo "downloading gl-inet.sh ......"
|
|
|
|
else
|
|
|
|
opkg update
|
|
|
|
opkg install bash
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
check_bash_installed
|
2023-11-07 08:16:10 +08:00
|
|
|
wget -O /tmp/gl-inet.sh https://raw.githubusercontent.com/wukongdaily/gl-inet-onescript/master/gl-inet.sh && chmod +x /tmp/gl-inet.sh && /tmp/gl-inet.sh
|