From feb80fc6358f578b9f854dbf2d48f024d6e87444 Mon Sep 17 00:00:00 2001 From: Panagiotis Vasilopoulos Date: Sun, 29 Sep 2019 07:26:27 +0000 Subject: [PATCH] Changed hardcoded paths --- scripts/create_sibling.sh | 2 +- scripts/linux_connection_share.sh | 2 +- sdcard/rootfs/root/pwnagotchi/scripts/blink.sh | 2 +- sdcard/rootfs/root/pwnagotchi/scripts/startup.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/create_sibling.sh b/scripts/create_sibling.sh index 81bff79..ce4e916 100755 --- a/scripts/create_sibling.sh +++ b/scripts/create_sibling.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # based on: https://wiki.debian.org/RaspberryPi/qemu-user-static ## and https://z4ziggy.wordpress.com/2015/05/04/from-bochs-to-chroot/ diff --git a/scripts/linux_connection_share.sh b/scripts/linux_connection_share.sh index 57fe718..fd767c6 100755 --- a/scripts/linux_connection_share.sh +++ b/scripts/linux_connection_share.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # name of the ethernet gadget interface on the host USB_IFACE=${1:-enp0s20f0u1} diff --git a/sdcard/rootfs/root/pwnagotchi/scripts/blink.sh b/sdcard/rootfs/root/pwnagotchi/scripts/blink.sh index 48345ef..a3cd47e 100755 --- a/sdcard/rootfs/root/pwnagotchi/scripts/blink.sh +++ b/sdcard/rootfs/root/pwnagotchi/scripts/blink.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash for i in `seq 1 $1`; do diff --git a/sdcard/rootfs/root/pwnagotchi/scripts/startup.sh b/sdcard/rootfs/root/pwnagotchi/scripts/startup.sh index ad17973..f158830 100755 --- a/sdcard/rootfs/root/pwnagotchi/scripts/startup.sh +++ b/sdcard/rootfs/root/pwnagotchi/scripts/startup.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # blink 10 times to signal ready state /root/pwnagotchi/scripts/blink.sh 10 &