mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-02-12 11:21:56 +00:00
Use rename instead of bash substitution
This commit is contained in:
parent
84b8295f50
commit
9b14d94a0f
1 changed files with 3 additions and 1 deletions
|
@ -24,8 +24,10 @@ echo 'deb http://deb.debian.org/debian stretch-backports main' > /etc/apt/source
|
|||
apt-get update
|
||||
wget -O /tmp/linux-image-4.14.24-mptcp-64056fa.amd64.deb http://www.openmptcprouter.com/kernel/linux-image-4.14.24-mptcp-64056fa.amd64.deb
|
||||
wget -O /tmp/linux-headers-4.14.24-mptcp-64056fa.amd64.deb http://www.openmptcprouter.com/kernel/linux-headers-4.14.24-mptcp-64056fa.amd64.deb
|
||||
# Rename bzImage to vmlinuz, needed when custom kernel was used
|
||||
cd /boot
|
||||
for file in bzImage* ; do mv $file ${file/bzImage/vmlinuz} ; done
|
||||
apt-get install rename
|
||||
rename 's/^bzImage/vmlinuz/s' *
|
||||
#apt-get -y install linux-mptcp
|
||||
dpkg -i /tmp/linux-image-4.14.24-mptcp-64056fa.amd64.deb
|
||||
dpkg -i /tmp/linux-headers-4.14.24-mptcp-64056fa.amd64.deb
|
||||
|
|
Loading…
Reference in a new issue