diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2013-01-09 10:47:19 +0000 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2013-01-09 10:47:19 +0000 |
commit | ce377e9994c6615c2b8542130a3d3662731845e8 (patch) | |
tree | 9a305b0b84220d26e5e9b8bb433e4b1855b4ad9c /net-misc/logmein-hamachi/files | |
parent | Cleanup of php versions (diff) | |
download | gentoo-2-ce377e9994c6615c2b8542130a3d3662731845e8.tar.gz gentoo-2-ce377e9994c6615c2b8542130a3d3662731845e8.tar.bz2 gentoo-2-ce377e9994c6615c2b8542130a3d3662731845e8.zip |
Properly create /var/run/... directory in initscript, wrt bug #450872. Drop old versions
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'net-misc/logmein-hamachi/files')
-rw-r--r-- | net-misc/logmein-hamachi/files/logmein-hamachi.initd | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net-misc/logmein-hamachi/files/logmein-hamachi.initd b/net-misc/logmein-hamachi/files/logmein-hamachi.initd index 7b704e19b722..25dce7d0947a 100644 --- a/net-misc/logmein-hamachi/files/logmein-hamachi.initd +++ b/net-misc/logmein-hamachi/files/logmein-hamachi.initd @@ -1,5 +1,5 @@ #!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 DAEMON=/opt/logmein-hamachi/bin/hamachid @@ -18,6 +18,10 @@ checktun() { return 1 } +start_pre() { + checkpath -d /var/run/logmein-hamachi +} + start() { # returns |