Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tftp-hpa
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
tftp-hpa
Commits
407cab02
Commit
407cab02
authored
Apr 25, 2019
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit
parents
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
0 deletions
+40
-0
Makefile
Makefile
+40
-0
tftp-hpa-5.2.tar.xz
tftp-hpa-5.2.tar.xz
+0
-0
No files found.
Makefile
0 → 100644
View file @
407cab02
all
:
tftpd-service tftpd-socket
tar
xf tftp-hpa-5.2.tar.xz
cd
tftp-hpa-5.2
&&
./configure
--prefix
=
/usr
$(MAKE)
-C
tftp-hpa-5.2
$(MAKE)
-C
tftp-hpa-5.2
install
@
echo
"
$$
TFTPD_SERVICE"
>
/lib/systemd/system/tftpd.service
@
echo
"
$$
TFTPD_SOCKET"
>
/lib/systemd/system/tftpd.socket
ln
-s
/lib/systemd/system/tftpd.service /etc/systemd/system/multi-user.target.wants/tftpd.service
rm
-rf
tftp-hpa-5.2
tftpd-service
:
define
TFTPD_SERVICE
[Unit]
Description
=
TFTP Server
After
=
network.target tftpd.socket
Requires
=
tftpd.socket
[Service]
ExecStart
=
/usr/sbin/in.tftpd
-v
-s
/tftpboot
StandardInput
=
socket
StandardError
=
journal
[Install]
WantedBy
=
multi-user.target
endef
export
TFTPD_SERVICE
tftpd-socket
:
define
TFTPD_SOCKET
[Unit]
Description
=
TFTP Socket activation
PartOf
=
tftpd.service
[Socket]
ListenDatagram
=
0.0.0.0:69
[Install]
WantedBy
=
sockets.target
endef
export
TFTPD_SOCKET
tftp-hpa-5.2.tar.xz
0 → 100644
View file @
407cab02
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment