10 lines
323 B
Bash
Executable File
10 lines
323 B
Bash
Executable File
#!/bin/sh
|
|
FILES="buildroot/output/images/bzImage buildroot/output/images/rootfs.cpio.xz"
|
|
|
|
md5sum $FILES > MD5SUMS &&
|
|
sed -e s_buildroot/output/images/__ -i MD5SUMS &&
|
|
scp $FILES MD5SUMS fwupdate-install.sh panda.hadiko.de: &&
|
|
ssh -t panda.hadiko.de sudo ./fwupdate-install.sh
|
|
echo "fwupdate-install.sh exited with " $?
|
|
|