Changeset 36314 in vbox
- Timestamp:
- Mar 18, 2011 2:26:36 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/routines.sh
r32542 r36314 543 543 if test "$ro_INIT_TYPE" = "sysv" -a -r "$scriptname"; then 544 544 orders=`grep '^#['"$spaces"']*chkconfig:' "$scriptname" | 545 sed -e 's/^#['"$spaces"']*chkconfig: \s*[0-9]*['"$spaces"']*//'`546 expr "$orders" : ' [0-9]*['"$spaces"']*[0-9]*$' > /dev/null ||545 sed -e 's/^#['"$spaces"']*chkconfig:['"$spaces"']*[0-9]*['"$spaces"']*//'` 546 expr "$orders" : '.*[0-9][0-9]*['"$spaces"']['"$spaces"']*[0-9][0-9]*$' > /dev/null || 547 547 { 548 548 log "$self: bad or missing chkconfig line in init script $scriptname"
Note:
See TracChangeset
for help on using the changeset viewer.