kopia lustrzana https://github.com/cyoung/stratux
Use sh syntax since previous versions execute the update script using /bin/sh.
rodzic
629fa68a13
commit
9d3060af95
|
@ -5,7 +5,7 @@ cp -f libimu.so /usr/lib/libimu.so
|
||||||
|
|
||||||
# Startup script.
|
# Startup script.
|
||||||
RASPBIAN_VERSION=`cat /etc/debian_version`
|
RASPBIAN_VERSION=`cat /etc/debian_version`
|
||||||
if [ "$RASPBIAN_VERSION" == "8.0" ] ; then
|
if test "$RASPBIAN_VERSION" = "8.0" ; then
|
||||||
# Install the systemd startup scripts in any case, even if they won't be used. If this is being run, then the old init.d script
|
# Install the systemd startup scripts in any case, even if they won't be used. If this is being run, then the old init.d script
|
||||||
# is still intact and we just leave it. If running Wheezy, then remove the old init.d script.
|
# is still intact and we just leave it. If running Wheezy, then remove the old init.d script.
|
||||||
rm -f /etc/init.d/stratux
|
rm -f /etc/init.d/stratux
|
||||||
|
|
Ładowanie…
Reference in New Issue