mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-11-22 13:37:19 +00:00
change dropbear config dir detect
This commit is contained in:
parent
f6781c1132
commit
910fe60dcb
@ -10,7 +10,13 @@ ENABLE_USB_ETH="false"
|
||||
ENABLE_USB_DIRECT="false"
|
||||
|
||||
echo "run_mmc.sh start" > /dev/kmsg
|
||||
mkdir /configs/.ssh
|
||||
|
||||
if [[ -d /configs/.ssh ]]; then
|
||||
echo "dropbear ssh config dir present"
|
||||
else
|
||||
echo "dropbear ssh config dir not present, creating"
|
||||
mkdir /configs/.ssh
|
||||
fi
|
||||
|
||||
if [[ "$ENABLE_USB_ETH" == "true" ]]; then
|
||||
ifconfig eth0 down
|
||||
|
Loading…
Reference in New Issue
Block a user