examples: Use /bin/sh instead of bash

This changes the shell for 3 single-line invocations to the
POSIX-specified /bin/sh, because /bin/bash does not exist on a number
of systems.
This commit is contained in:
Greg Troxel 2022-07-24 20:30:16 -04:00
parent 01bc7dc854
commit ad8d8aede0
3 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@ Restart=always
RestartSec=5
RemainAfterExit=no
User=root
ExecStart=/bin/bash -c "/usr/bin/rtl_433 -f 433920000 -f 433920000 -H 120 -F syslog:127.0.0.1:1433"
ExecStart=/bin/sh -c "/usr/bin/rtl_433 -f 433920000 -f 433920000 -H 120 -F syslog:127.0.0.1:1433"
[Install]
WantedBy=multi-user.target

View file

@ -1,3 +1,3 @@
#!/bin/bash
#!/bin/sh
echo 'Please use "rtl_433 [-s <samplerate>] -w <output>.sr -r <input>.cu8"'

View file

@ -1,3 +1,3 @@
#!/bin/bash
#!/bin/sh
echo 'Please use "rtl_433 [-s <samplerate>] -W <output>.sr -r <input>.cu8"'