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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user