providing install_soft build target

This commit is contained in:
Saxon Nelson-Milton 2022-05-31 14:47:06 +09:30
parent ab49930149
commit 44fa6bc54a
1 changed files with 5 additions and 3 deletions

View File

@ -25,6 +25,11 @@ endif
.SILENT:syncreboot .SILENT:syncreboot
.SILENT:clean .SILENT:clean
install_soft:
sed -i 's/<user>/$(USR)/' rv.service
sed -i 's/<user>/$(USR)/' run.sh
chmod +x run.sh
install: as_root make_dirs soft_copy_files install: as_root make_dirs soft_copy_files
@echo "Install complete" @echo "Install complete"
@ -98,9 +103,6 @@ set_mac:
printf "ip link set eth0 address $(MA)\n" > /etc/dhcpcd.enter-hook printf "ip link set eth0 address $(MA)\n" > /etc/dhcpcd.enter-hook
chmod guo+x /etc/dhcpcd.enter-hook chmod guo+x /etc/dhcpcd.enter-hook
syncreboot:
cd ../../utils/cmd/syncreboot; make; make install
clean: as_root clean: as_root
rm -rf /var/netsender rm -rf /var/netsender
rm -rf /var/log/netsender rm -rf /var/log/netsender