]> git.pld-linux.org Git - packages/util-vserver.git/blame - util-vserver-utmpx.patch
- rel 3; R texlive-fonts-rsfs
[packages/util-vserver.git] / util-vserver-utmpx.patch
CommitLineData
67457f13 1--- util-vserver-0.30.214/scripts/vserver.functions~ 2007-09-02 23:06:48.000000000 +0200
2+++ util-vserver-0.30.214/scripts/vserver.functions 2007-09-02 23:14:40.713357250 +0200
3@@ -284,7 +284,7 @@
f998e031
JR
4 INITCMD_START=( "$i" "$RUNLEVEL_START" )
5 INITCMD_STOP=( "$i" "$RUNLEVEL_STOP" )
6 done
7- INITCMD_PREPARE=( $_FAKE_RUNLEVEL "$RUNLEVEL_START" /var/run/utmp )
8+ INITCMD_PREPARE=( $_FAKE_RUNLEVEL "$RUNLEVEL_START" /var/run/utmpx )
67457f13 9 OPTS_ENV=( "${OPTS_ENV[@]}" PREVLEVEL=N RUNLEVEL="$RUNLEVEL_START" )
10 if test -n "$OPTION_DEBUG_SYSV"; then
11 INITCMD_START=( /bin/bash -x "${INITCMD_START[@]}" )
12@@ -309,7 +309,7 @@
13 _NEED_VSHELPER_SYNC=1
14 test -z "$RUNLEVEL_START" || INITCMD_START=( "${INITCMD_START[@]}" "$RUNLEVEL_START" )
15 test -z "$RUNLEVEL_STOP" || INITCMD_STOP=( "${INITCMD_STOP[@]}" "$RUNLEVEL_STOP" )
16- ! isNumber "${RUNLEVEL_START:-3}" || INITCMD_PREPARE=( $_FAKE_RUNLEVEL "${RUNLEVEL_START:-3}" /var/run/utmp )
17+ ! isNumber "${RUNLEVEL_START:-3}" || INITCMD_PREPARE=( $_FAKE_RUNLEVEL "${RUNLEVEL_START:-3}" /var/run/utmpx )
f998e031 18 ;;
67457f13 19
20 (xgentoo)
21@@ -317,7 +317,7 @@
22
5fbed4df 23 INITCMD_START=( env TERM=$TERM $RC_WRAP "$RUNLEVEL_START" )
24 INITCMD_STOP=( env -i PATH=$RC_PATH TERM=$TERM RUNLEVEL=0 /sbin/rc shutdown )
67457f13 25- INITCMD_PREPARE=( $_FAKE_RUNLEVEL 3 /var/run/utmp )
26+ INITCMD_PREPARE=( $_FAKE_RUNLEVEL 3 /var/run/utmpx )
27 ;;
28
29 (x) ;;
This page took 0.0653 seconds and 4 git commands to generate.