From newsgroups.mail2@stefanbaur.de Tue Jan 28 16:51:08 2014 Received: (at submit) by bugs.x2go.org; 28 Jan 2014 15:51:08 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by ymir (Postfix) with ESMTP id EE3505DB17 for ; Tue, 28 Jan 2014 16:51:07 +0100 (CET) Received: from [192.168.0.3] (dslb-088-067-159-146.pools.arcor-ip.net [88.67.159.146]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0MW4Sq-1VoKjT2eKG-00X6Ks; Tue, 28 Jan 2014 16:51:07 +0100 Message-ID: <52E7D213.6000208@stefanbaur.de> Date: Tue, 28 Jan 2014 16:51:47 +0100 From: Stefan Baur User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: submit@bugs.x2go.org Subject: extend /etc/x2go/x2gothinclient_init functionality X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:/8ZyEK6uXpDcRSIcWnVfGzPC2LGpk/D1kkX0ukSi9pz 9LMdiogFjssFsU4B0t/zZmEp8nyNW6JnMb+bfZjBQ3wFTEkPkG GfkuhdfbYuSFJR/HslJJyYVAnTeesvwFQWRfeTL2OFkRu+5/Yz CuXoiQLc4tToSr4wb8iTgV9AG0cRucsn/pFzA7jgh6Vt15ylYJ Jpl9M88sDOLu9jhW2f0LyHSAatR9wwE88cP/twcK7a9WOZFkrJ JcffRRpdDXFzrcrtkYoBvr9++MU9sm3XRMmgdkAlaCQME8KjBi YzwAcqnWjvtrPtY+W9OTEQDR6ObzyRSyAfNJBEpgkQ9oP2tcFP Gy6SvTyCfg42mTwSyBT4fGk4+mr4YuwfZsXc0Z/96 Package: x2gothinclient Severity: wishlist Version: 1.1.0.1-0 I would like to suggest that /etc/x2go/x2gothinclient_init is replaced/amended with a directory /x2go/x2gothinclient_init.d/ where individual scripts can be placed. That way, it would be possible to use the official/default init script, add custom commands before and after it, without running into file conflicts when updating the package. The current /etc/x2go/x2gothinclient_init would be moved to /etc/x2go/x2gothinclient_init.d/0100-x2gothinclient_init-default and the new /etc/x2go/x2gothinclient_init would simply source that file (as well as any other file in that directory). Similar code is available in the debian-live project, where it loads fles from /lib/live/config/????-foobar. -Stefan