From 76e370896eabb2cea8052d9508dfa15fceccb67d Mon Sep 17 00:00:00 2001 From: Jason Fesler Date: Tue, 17 Feb 2015 13:56:47 -0800 Subject: Fixing upstart --- Makefile | 4 ++-- upstart/mtu1280d | 18 ------------------ upstart/mtu1280d.conf | 18 ++++++++++++++++++ 3 files changed, 20 insertions(+), 20 deletions(-) delete mode 100755 upstart/mtu1280d create mode 100755 upstart/mtu1280d.conf diff --git a/Makefile b/Makefile index 9e3d315..33cd66f 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ install: mtu1280d upstart: install @echo Checking to see if your system uses upstart test -d /etc/init/ - /usr/bin/install -c upstart/mtu1280d /etc/init/ + /usr/bin/install -c upstart/mtu1280d.conf /etc/init/ @echo "Reminder - start the daemon or reboot; then update your ip6tables." @echo "See the README.md file." @@ -64,7 +64,7 @@ remove: pre-remove force-remove dist-prep:: rm -fr work mkdir -p work - rsync -av . work --exclude work --exclude "*~" --exclude /mtu1280d --exclude ".git" + rsync -av . work --exclude work --exclude "*~" --exclude /mtu1280d --exclude ".git" --exclude "fsky*tgz" dist-test: dist-prep ../dist_support/make-dist.pl --stage work --base mtu1280d --branch test diff --git a/upstart/mtu1280d b/upstart/mtu1280d deleted file mode 100755 index ee996aa..0000000 --- a/upstart/mtu1280d +++ /dev/null @@ -1,18 +0,0 @@ -# ssh - OpenBSD Secure Shell server -# -# The OpenSSH server provides secure shell access to the system. - -description "Synthetic ICMPv6 Packet Too Big response" - -start on runlevel [2345] -stop on runlevel [!2345] - -respawn -respawn limit 10 5 -umask 022 - -#expect stop - -console none - -exec /usr/sbin/mtu1280d -q 1280 diff --git a/upstart/mtu1280d.conf b/upstart/mtu1280d.conf new file mode 100755 index 0000000..ee996aa --- /dev/null +++ b/upstart/mtu1280d.conf @@ -0,0 +1,18 @@ +# ssh - OpenBSD Secure Shell server +# +# The OpenSSH server provides secure shell access to the system. + +description "Synthetic ICMPv6 Packet Too Big response" + +start on runlevel [2345] +stop on runlevel [!2345] + +respawn +respawn limit 10 5 +umask 022 + +#expect stop + +console none + +exec /usr/sbin/mtu1280d -q 1280 -- cgit v1.2.3