Codebase list sysvinit / 30ce9ac
Add quotes to handle scripts and arguments with space in them. Petter Reinholdtsen 10 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
00 #!/bin/sh
11 # kFreeBSD do not accept scripts as interpreters, using #!/bin/sh and sourcing.
22 if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then
3 set $0 $@; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
3 set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
44 fi
55 ### BEGIN INIT INFO
66 # Provides: skeleton