Skip to content

Commit

Permalink
udev might call twice
Browse files Browse the repository at this point in the history
  • Loading branch information
frostschutz committed Oct 30, 2018
1 parent fbad46a commit 4862e53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TelnetFtp/sbin/my-telnetftp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/busybox sh

echo '::respawn:/sbin/my-inetd -f /etc/my-inetd.conf' >> /etc/inittab
mkdir /tmp/telnetftp || exit

rm /sbin/hwclock && ln -s ../bin/busybox /sbin/hwclock && sync
echo '::respawn:/sbin/my-inetd -f /etc/my-inetd.conf' >> /etc/inittab

rm /etc/udev/rules.d/telnetftp.rules
rm /sbin/my-telnetftp

0 comments on commit 4862e53

Please sign in to comment.