~ubuntu-branches/ubuntu/saucy/xen-common/saucy

« back to all changes in this revision

Viewing changes to tools/hotplug/NetBSD/rc.d/xend

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-02-06 10:49:43 UTC
  • mfrom: (10.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20120206104943-fo54o8stjp2ikglj
Tags: 4.1.2-1ubuntu1
* Merge from Debian testing.  Remaining changes:
  - Upate maintainer according to spec.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
 
11
11
LD_LIBRARY_PATH="${LIBDIR}"
12
12
export LD_LIBRARY_PATH PYTHONPATH
 
13
PATH="${PATH}:${SBINDIR}"
 
14
export PATH
13
15
 
14
16
name="xend"
15
17
rcvar=$name
16
18
command="${SBINDIR}/xend"
17
 
start_cmd="echo Starting ${name}. && PATH=${PATH}:${SBINDIR} ${command} start"
18
 
pidfile="/var/run/xend.pid"
 
19
command_args="start"
 
20
command_interpreter=`head -n 1 ${command} | awk '{ print substr($0,3) }'`
 
21
sig_stop="SIGKILL"
19
22
 
20
23
load_rc_config $name
21
24
run_rc_command "$1"