The following changes were made
* Now depends on dash instead of bash * Corrected conditional in rc script '==' not valid POSIX
This commit is contained in:
4
Makefile
4
Makefile
@@ -8,7 +8,7 @@
|
|||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
DEPENDS = bash,iftools,kmod,procps-ng,sysvinit
|
DEPENDS = dash,iftools,kmod,procps-ng,sysvinit
|
||||||
ARCH = x86_64
|
ARCH = x86_64
|
||||||
URL =
|
URL =
|
||||||
BRIEF = Base scripts for sysvinit
|
BRIEF = Base scripts for sysvinit
|
||||||
@@ -17,7 +17,7 @@ DESC = This package supplies the base system init scripts for sysvinit
|
|||||||
ARCHIVE := ''
|
ARCHIVE := ''
|
||||||
SRCDIR := $(PWD)/SRC/initscripts
|
SRCDIR := $(PWD)/SRC/initscripts
|
||||||
PATCHDIR := $(PWD)/SRC/patches
|
PATCHDIR := $(PWD)/SRC/patches
|
||||||
VERSION := 1.3-0
|
VERSION := 1.4-0
|
||||||
|
|
||||||
include /usr/share/snap/Makefile.snaplinux
|
include /usr/share/snap/Makefile.snaplinux
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ print_snap() {
|
|||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
S|1|2|3|4|5|6|0)
|
S|1|2|3|4|5|6|0)
|
||||||
if [ "$RUNLEVEL" == "S" ]; then
|
if [ "$RUNLEVEL" = "S" ]; then
|
||||||
set -a
|
set -a
|
||||||
[ -r /etc/default/rcS ] && . /etc/default/rcS
|
[ -r /etc/default/rcS ] && . /etc/default/rcS
|
||||||
set +a
|
set +a
|
||||||
|
|||||||
Reference in New Issue
Block a user