kopia lustrzana https://github.com/cyoung/stratux
Update Makefile, remove init.d file install, add new startup script file install.
rodzic
9f05b24536
commit
6e33ff07d6
10
Makefile
10
Makefile
|
@ -38,11 +38,13 @@ www:
|
|||
install:
|
||||
cp -f gen_gdl90 /usr/bin/gen_gdl90
|
||||
chmod 755 /usr/bin/gen_gdl90
|
||||
cp init.d-stratux /etc/init.d/stratux
|
||||
cp image/10-stratux.rules /etc/udev/rules.d/10-stratux.rules
|
||||
chmod 755 /etc/init.d/stratux
|
||||
ln -sf /etc/init.d/stratux /etc/rc2.d/S01stratux
|
||||
ln -sf /etc/init.d/stratux /etc/rc6.d/K01stratux
|
||||
rm -f /etc/init.d/stratux
|
||||
cp __lib__systemd__system__stratux.service work/bin/
|
||||
cp __root__stratux-pre-start.sh work/bin/
|
||||
chmod 644 /lib/systemd/system/stratux.service
|
||||
chmod 744 /root/stratux-pre-start.sh
|
||||
ln -fs /lib/systemd/system/stratux.service /etc/systemd/system/multi-user.target.wants/stratux.service
|
||||
make www
|
||||
cp -f dump1090/dump1090 /usr/bin/
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue