Can't install
Hi,
I receive the following when trying to run the setup.sh script.
~/wrtbwmon-0.36# ./install.sh wrtbwmon readDB.awk usage.htm1 usage.htm2 wrtbwmon ./install.sh: line 11: install: not found ./install.sh: line 11: install: not found ./install.sh: line 11: install: not found ./install.sh: line 11: install: not found ./install.sh: line 11: install: not found
do_copy() {
local dest perm file
for file in $*; do
dest=`egrep ".+ $file( |$)" ./fileMap | cut -d':' -f1`
mkdir -p $DESTDIR/$dest
if [ -n `echo $dest | egrep '/s*bin$'` ]; then
perm=0744
else
perm=0644
fi
install -m $perm -t $DESTDIR/$dest/ $file
done
}
base=`basename $0`
if [ "$base" = "mkipk.sh" ]; then
DESTDIR=$(mktemp -d)
do_copy $*
fakeroot -- ipkg-build -c $DESTDIR
rm -rf $DESTDIR
else
DESTDIR=${DESTDIR:-"/"}
do_copy $*
fi
Thanks,
Aaron
It sounds like you are missing the "install" binary. I don't know what firmware version you're using, but you might try to remedy that before proceeding.
On Wed, Dec 11, 2024 at 5:38 PM Nightwalker83 @.***> wrote:
Hi,
I receive the receive following when trying to run the setup.sh script.
~/wrtbwmon-0.36# ./install.sh wrtbwmon readDB.awk usage.htm1 usage.htm2 wrtbwmon ./install.sh: line 11: install: not found ./install.sh: line 11: install: not found ./install.sh: line 11: install: not found ./install.sh: line 11: install: not found ./install.sh: line 11: install: not found
do_copy() { local dest perm file for file in $*; do dest=
egrep ".+ $file( |$)" ./fileMap | cut -d':' -f1mkdir -p $DESTDIR/$dest if [ -necho $dest | egrep '/s*bin$']; then perm=0744 else perm=0644 fi install -m $perm -t $DESTDIR/$dest/ $file done }base=
basename $0if [ "$base" = "mkipk.sh" ]; then DESTDIR=$(mktemp -d) do_copy $* fakeroot -- ipkg-build -c $DESTDIR rm -rf $DESTDIR else DESTDIR=${DESTDIR:-"/"} do_copy $* fiThanks,
Aaron
— Reply to this email directly, view it on GitHub https://github.com/pyrovski/wrtbwmon/issues/40, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACLG6OTNEMMTS3MXAKQLID2FDSLDAVCNFSM6AAAAABTOXKATWVHI2DSMVQWIX3LMV43ASLTON2WKOZSG4ZTINBWGA2TSOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
--
Peter Bailey Phone: (651) 808-4770
It sounds like you are missing the "install" binary. I don't know what firmware version you're using, but you might try to remedy that before proceeding. … On Wed, Dec 11, 2024 at 5:38 PM Nightwalker83 @.> wrote: Hi, I receive the receive following when trying to run the setup.sh script. ~/wrtbwmon-0.36# ./install.sh wrtbwmon readDB.awk usage.htm1 usage.htm2 wrtbwmon ./install.sh: line 11: install: not found ./install.sh: line 11: install: not found ./install.sh: line 11: install: not found ./install.sh: line 11: install: not found ./install.sh: line 11: install: not found do_copy() { local dest perm file for file in $; do dest=
egrep ".+ $file( |$)" ./fileMap | cut -d':' -f1mkdir -p $DESTDIR/$dest if [ -necho $dest | egrep '/s*bin$']; then perm=0744 else perm=0644 fi install -m $perm -t $DESTDIR/$dest/ $file done } base=basename $0if [ "$base" = "mkipk.sh" ]; then DESTDIR=$(mktemp -d) do_copy $ fakeroot -- ipkg-build -c $DESTDIR rm -rf $DESTDIR else DESTDIR=${DESTDIR:-"/"} do_copy $ fi Thanks, Aaron — Reply to this email directly, view it on GitHub <#40>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACLG6OTNEMMTS3MXAKQLID2FDSLDAVCNFSM6AAAAABTOXKATWVHI2DSMVQWIX3LMV43ASLTON2WKOZSG4ZTINBWGA2TSOI . You are receiving this because you are subscribed to this thread.Message ID: @.***> -- Peter Bailey Phone: (651) 808-4770
Not sure which, operating system I originally tried it on but I do not get that error installing as root under Ubuntu 22.04.