Project

General

Profile

Bug #4422 ยป etc_rc.initial.patch

Handle -c in /etc/rc.initial - David Wood, 02/13/2015 04:46 AM

View differences:

/etc/rc.initial 2015-01-25 15:50:33.000000000 +0000
38 38
	fi
39 39
fi
40 40

  
41
# Parse command line parameters
42
while [ $# -gt 0 ]; do
43
	case $1 in
44
		-c )	shift
45
			/bin/sh -c $1
46
			exit
47
			;;
48
		* )
49
	esac
50
	shift
51
done
52

  
41 53
CONFIG="/cf/conf/config.xml"
42 54
WORD="https"
43 55

  
    (1-1/1)