lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit b24601c128f65444a51de1839bf13920f3e77108
parent f99c3b2510bbc375ec48c116495b6d07a30e319f
Author: Rafał Miłecki <rafal@milecki.pl>
Date:   Mon, 26 Sep 2016 07:59:30 +0200

pptpd: run service in foreground for procd compatibility

To have service working nicely with procd it should be running in the
foreground. Otherwise it's not possible to e.g. stop it with the init.d
script. Luckily for us pptpd has a simple switch that allows it.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Fixes: 15e7f611afb ("pptpd: convert init script to procd")

Diffstat:
Mnet/pptpd/files/pptpd.init | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/pptpd/files/pptpd.init b/net/pptpd/files/pptpd.init @@ -67,6 +67,6 @@ start_service() { ln -sfn $CHAP_SECRETS /etc/ppp/chap-secrets procd_open_instance - procd_set_param command $BIN -c $CONFIG -o $OPTIONS_PPTP + procd_set_param command $BIN -c $CONFIG --fg -o $OPTIONS_PPTP procd_close_instance }