From 9e2d2df55291ddcf22c4c2922e22c352383efd34 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 16 Jan 2018 15:24:06 +0000 Subject: [PATCH] olsr2 simple daemon --- src/freedombone-image-customise | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index 3d31de47..3542ebe3 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -701,12 +701,9 @@ EOF echo 'After=network.target' >> $rootdir/etc/systemd/system/olsr2.service echo '' >> $rootdir/etc/systemd/system/olsr2.service echo '[Service]' >> $rootdir/etc/systemd/system/olsr2.service - echo 'Type=forking' >> $rootdir/etc/systemd/system/olsr2.service echo 'User=root' >> $rootdir/etc/systemd/system/olsr2.service echo 'Group=root' >> $rootdir/etc/systemd/system/olsr2.service echo 'ExecStart=/usr/local/sbin/olsrd2_static wlan0' >> $rootdir/etc/systemd/system/olsr2.service - echo 'ExecStop=/usr/bin/kill -15 $MAINPID' >> $rootdir/etc/systemd/system/olsr2.service - echo 'PIDFile=/var/run/olsr2/pid' >> $rootdir/etc/systemd/system/olsr2.service echo 'Restart=on-failure' >> $rootdir/etc/systemd/system/olsr2.service echo '' >> $rootdir/etc/systemd/system/olsr2.service echo '[Install]' >> $rootdir/etc/systemd/system/olsr2.service