mirror of
https://github.com/izzy2lost/termux-docker.git
synced 2026-07-05 15:18:43 -07:00
bin: rename sh to mksh, add back busybox sh
mksh cause issues when building images for arm and aarch64.
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
#!/system/bin/sh
|
||||
|
||||
if [ "$(id -u)" = "0" ] && [ -z "$(/system/bin/busybox pidof dnsmasq)" ]; then
|
||||
/system/bin/sh -T /dev/ptmx -c "/system/bin/dnsmasq -u root -g root --pid-file /dnsmasq.pid" >/dev/null 2>&1
|
||||
/system/bin/mksh -T /dev/ptmx -c "/system/bin/dnsmasq -u root -g root --pid-file /dnsmasq.pid" >/dev/null 2>&1
|
||||
sleep 1
|
||||
if [ -z "$(/system/bin/busybox pidof dnsmasq)" ]; then
|
||||
echo "[!] Failed to start dnsmasq, host name resolution may fail." >&2
|
||||
|
||||
Executable
BIN
Binary file not shown.
Binary file not shown.
Symlink
+1
@@ -0,0 +1 @@
|
||||
busybox
|
||||
Executable
BIN
Binary file not shown.
Binary file not shown.
Symlink
+1
@@ -0,0 +1 @@
|
||||
busybox
|
||||
Reference in New Issue
Block a user