This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:18.04 AS base | |
RUN apt -y update && apt install -y busybox-static | |
FROM scratch as stage2 | |
COPY --from=base /bin/busybox /usr/bin/busybox | |
SHELL ["/usr/bin/busybox", "sh", "-c"] | |
RUN /usr/bin/busybox ln -s usr/bin /bin | |
RUN /usr/bin/busybox ln -s busybox /usr/bin/ls | |
RUN /usr/bin/ls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
127.0.0.1 r5---sn-o097znlk.googlevideo.com | |
127.0.0.1 r4---sn--cxaaj5o5q5-tt16.googlevideo.com | |
127.0.0.1 r3---sn--q5u5bgv02-3c26.googlevideo.com | |
127.0.0.1 r12---sn--bvvbax-hn26.googlevideo.com | |
127.0.0.1 r7---sn--w5nuxa-o536.googlevideo.com | |
127.0.0.1 r1---sn--4g5e6n76.googlevideo.com | |
127.0.0.1 r3---sn--4g5e6n76.googlevideo.com | |
127.0.0.1 r4---sn--4g5e6n76.googlevideo.com | |
127.0.0.1 r5---sn--4g5e6n76.googlevideo.com | |
127.0.0.1 r6---sn--4g5e6n76.googlevideo.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x27[35;01m===x27[0m Running ebuild phase killold as root:root... | |
x27[35;01m===x27[0m Starting builtin_killold | |
x27[35;01m===x27[0m Done builtin_killold | |
x27[35;01m===x27[0m Completed ebuild phase killold | |
x27[35;01m===x27[0m Running ebuild phases init saveenv as paludisbuild:paludisbuild... | |
x27[35;01m===x27[0m Starting builtin_init | |
x27[35;01m===x27[0m Done builtin_init | |
x27[35;01m===x27[0m Starting builtin_saveenv | |
x27[35;01m===x27[0m Done builtin_saveenv | |
x27[35;01m===x27[0m Completed ebuild phases init saveenv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x27[35;01m===x27[0m Running ebuild phase killold as root:root... | |
x27[35;01m===x27[0m Starting builtin_killold | |
x27[35;01m===x27[0m Done builtin_killold | |
x27[35;01m===x27[0m Completed ebuild phase killold | |
x27[35;01m===x27[0m Running ebuild phases init saveenv as paludisbuild:paludisbuild... | |
x27[35;01m===x27[0m Starting builtin_init | |
x27[35;01m===x27[0m Done builtin_init | |
x27[35;01m===x27[0m Starting builtin_saveenv | |
x27[35;01m===x27[0m Done builtin_saveenv | |
x27[35;01m===x27[0m Completed ebuild phases init saveenv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x27[35;01m===x27[0m Running ebuild phase killold as root:root... | |
x27[35;01m===x27[0m Starting builtin_killold | |
x27[35;01m===x27[0m Done builtin_killold | |
x27[35;01m===x27[0m Completed ebuild phase killold | |
x27[35;01m===x27[0m Running ebuild phases init saveenv as paludisbuild:paludisbuild... | |
x27[35;01m===x27[0m Starting builtin_init | |
x27[35;01m===x27[0m Done builtin_init | |
x27[35;01m===x27[0m Starting builtin_saveenv | |
x27[35;01m===x27[0m Done builtin_saveenv | |
x27[35;01m===x27[0m Completed ebuild phases init saveenv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x27[35;01m===x27[0m Running ebuild phase killold as root:root... | |
x27[35;01m===x27[0m Starting builtin_killold | |
x27[35;01m===x27[0m Done builtin_killold | |
x27[35;01m===x27[0m Completed ebuild phase killold | |
x27[35;01m===x27[0m Running ebuild phases init saveenv as paludisbuild:paludisbuild... | |
x27[35;01m===x27[0m Starting builtin_init | |
x27[35;01m===x27[0m Done builtin_init | |
x27[35;01m===x27[0m Starting builtin_saveenv | |
x27[35;01m===x27[0m Done builtin_saveenv | |
x27[35;01m===x27[0m Completed ebuild phases init saveenv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ln -s ne-drop 03b6e0fcb3499374a867d041f52298f0 | |
ln -s col-resize 043a9f68147c53184671403ffa811cc5 | |
ln -s alias 0876e1c15ff2fc01f906f1c363074c0f | |
ln -s copy 08ffe1cb5fe6fc01f906f1c063814ccf | |
ln -s grabbing 208530c400c041818281048008011002 | |
ln -s nwse-resize 38c5dff7c7b8962045400281044508d2 | |
ln -s nesw-resize 50585d75b494802d0151028115016902 | |
ln -s all-scroll 5aca4d189052212118709018842178c0 | |
ln -s progress 9116a3ea924ed2162ecab71ba103b17f | |
ln -s X_cursor X-cursor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# forwarding usb0 -> eth0 | |
iptables -t nat -A POSTROUTING -o usb0 -j MASQUERADE | |
iptables -A FORWARD -i eth0 -j ACCEPT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#set -x | |
adb="/home/vmm/dev/opt/android-sdk-linux/platform-tools/adb" | |
# enable logging | |
exec >> /var/log/tether.log 2>&1 | |
echo | |
echo "-------------------------------------------------" | |
echo "Running tether script at `date`" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Skip this section below if this device is not connected by USB | |
SUBSYSTEM!="usb", GOTO="android_usb_rules_end" | |
LABEL="android_usb_rules_begin" | |
# Devices listed here in android_usb_rules_{begin...end} are connected by USB | |
# HTC | |
ATTR{idVendor}=="0bb4", ENV{adb_user}="yes" MODE="0660", GROUP="plugdev" | |
# ZP900S : Auto-start USB tethering |
NewerOlder