batman not a oneshot
This commit is contained in:
parent
a7369b6078
commit
5a2b0c0b1a
|
@ -554,7 +554,6 @@ function mesh_batman {
|
||||||
echo 'After=network.target' >> $BATMAN_DAEMON
|
echo 'After=network.target' >> $BATMAN_DAEMON
|
||||||
echo '' >> $BATMAN_DAEMON
|
echo '' >> $BATMAN_DAEMON
|
||||||
echo '[Service]' >> $BATMAN_DAEMON
|
echo '[Service]' >> $BATMAN_DAEMON
|
||||||
echo 'Type=oneshot' >> $BATMAN_DAEMON
|
|
||||||
echo 'RemainAfterExit=yes' >> $BATMAN_DAEMON
|
echo 'RemainAfterExit=yes' >> $BATMAN_DAEMON
|
||||||
echo "ExecStart=/var/lib/batman start" >> $BATMAN_DAEMON
|
echo "ExecStart=/var/lib/batman start" >> $BATMAN_DAEMON
|
||||||
echo "ExecStop=/var/lib/batman stop" >> $BATMAN_DAEMON
|
echo "ExecStop=/var/lib/batman stop" >> $BATMAN_DAEMON
|
||||||
|
|
|
@ -360,7 +360,6 @@ function mesh_batman {
|
||||||
echo 'After=network.target' >> $BATMAN_DAEMON
|
echo 'After=network.target' >> $BATMAN_DAEMON
|
||||||
echo '' >> $BATMAN_DAEMON
|
echo '' >> $BATMAN_DAEMON
|
||||||
echo '[Service]' >> $BATMAN_DAEMON
|
echo '[Service]' >> $BATMAN_DAEMON
|
||||||
echo 'Type=oneshot' >> $BATMAN_DAEMON
|
|
||||||
echo 'RemainAfterExit=yes' >> $BATMAN_DAEMON
|
echo 'RemainAfterExit=yes' >> $BATMAN_DAEMON
|
||||||
echo "ExecStart=/var/lib/batman start" >> $BATMAN_DAEMON
|
echo "ExecStart=/var/lib/batman start" >> $BATMAN_DAEMON
|
||||||
echo "ExecStop=/var/lib/batman stop" >> $BATMAN_DAEMON
|
echo "ExecStop=/var/lib/batman stop" >> $BATMAN_DAEMON
|
||||||
|
|
Loading…
Reference in New Issue