From aa612e0add2c840c62f510e51c75af9d53f4cf4a Mon Sep 17 00:00:00 2001 From: Jay Larson Date: Sun, 26 Nov 2017 18:30:27 -0600 Subject: [PATCH] The following changes were made * Now depends on dash instead of bash * Corrected conditional in rc script '==' not valid POSIX --- Makefile | 4 ++-- SRC/initscripts/init.d/rc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 2142249..f484d49 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -DEPENDS = bash,iftools,kmod,procps-ng,sysvinit +DEPENDS = dash,iftools,kmod,procps-ng,sysvinit ARCH = x86_64 URL = BRIEF = Base scripts for sysvinit @@ -17,7 +17,7 @@ DESC = This package supplies the base system init scripts for sysvinit ARCHIVE := '' SRCDIR := $(PWD)/SRC/initscripts PATCHDIR := $(PWD)/SRC/patches -VERSION := 1.3-0 +VERSION := 1.4-0 include /usr/share/snap/Makefile.snaplinux diff --git a/SRC/initscripts/init.d/rc b/SRC/initscripts/init.d/rc index ab9af1f..4074d79 100755 --- a/SRC/initscripts/init.d/rc +++ b/SRC/initscripts/init.d/rc @@ -22,7 +22,7 @@ print_snap() { case "$1" in S|1|2|3|4|5|6|0) - if [ "$RUNLEVEL" == "S" ]; then + if [ "$RUNLEVEL" = "S" ]; then set -a [ -r /etc/default/rcS ] && . /etc/default/rcS set +a