Ticket #14733: no-lfs.patch
| File no-lfs.patch, 5.5 KB (added by , 9 years ago) |
|---|
-
src/VBox/Additions/linux/installer/vboxadd-service.sh
43 43 elif [ -f /etc/slackware-version ]; then 44 44 system=slackware 45 45 PIDFILE="/var/run/vboxadd-service" 46 elif [ -f /etc/lfs-release ]; then47 system=lfs48 PIDFILE="/var/run/vboxadd-service.pid"49 46 else 50 47 system=other 51 48 if [ -d /var/run -a -w /var/run ]; then … … 168 165 169 166 fi 170 167 171 if [ "$system" = "lfs" ]; then172 . /etc/rc.d/init.d/functions173 daemon() {174 loadproc $1 $2 $3175 }176 177 fail_msg() {178 echo_failure179 }180 181 succ_msg() {182 echo_ok183 }184 185 begin() {186 echo $1187 }188 189 status() {190 statusproc $1191 }192 fi193 194 168 binary=/usr/sbin/VBoxService 195 169 196 170 testbinary() { -
src/VBox/Additions/linux/installer/vboxadd-x11.sh
76 76 system=suse 77 77 elif [ -f /etc/gentoo-release ]; then 78 78 system=gentoo 79 elif [ -f /etc/lfs-release -a -d /etc/rc.d/init.d ]; then80 system=lfs81 79 else 82 80 system=other 83 81 fi … … 132 130 fi 133 131 fi 134 132 135 if [ "$system" = "lfs" ]; then136 . /etc/rc.d/init.d/functions137 fail_msg() {138 echo_failure139 }140 succ_msg() {141 echo_ok142 }143 begin() {144 echo $1145 }146 fi147 148 133 if [ "$system" = "debian" -o "$system" = "other" ]; then 149 134 fail_msg() { 150 135 echo " ...fail!" -
src/VBox/Additions/linux/installer/vboxadd.sh
63 63 system=suse 64 64 elif [ -f /etc/gentoo-release ]; then 65 65 system=gentoo 66 elif [ -f /etc/lfs-release -a -d /etc/rc.d/init.d ]; then67 system=lfs68 66 else 69 67 system=other 70 68 fi … … 119 117 fi 120 118 fi 121 119 122 if [ "$system" = "lfs" ]; then123 . /etc/rc.d/init.d/functions124 fail_msg() {125 echo_failure126 }127 succ_msg() {128 echo_ok129 }130 begin() {131 echo $1132 }133 fi134 135 120 if [ "$system" = "other" ]; then 136 121 fail_msg() { 137 122 echo " ...fail!" -
src/VBox/Installer/linux/vboxautostart-service.sh
53 53 system=gentoo 54 54 elif [ -f /etc/slackware-version ]; then 55 55 system=slackware 56 elif [ -f /etc/lfs-release ]; then57 system=lfs58 56 else 59 57 system=other 60 58 fi … … 196 194 } 197 195 fi 198 196 199 if [ "$system" = "lfs" ]; then200 . /etc/rc.d/init.d/functions201 if [ -n "$NOLSB" ]; then202 fail_msg() {203 echo_failure204 }205 succ_msg() {206 echo_ok207 }208 begin_msg() {209 echo $1210 }211 fi212 start_daemon() {213 usr="$1"214 shift215 su - $usr -c "$*"216 }217 status() {218 statusproc $1219 }220 fi221 222 197 if [ "$system" = "other" ]; then 223 198 if [ -n "$NOLSB" ]; then 224 199 fail_msg() { -
src/VBox/Installer/linux/vboxballoonctrl-service.sh
58 58 elif [ -f /etc/slackware-version ]; then 59 59 system=slackware 60 60 PIDFILE="/var/run/vboxballoonctrl-service" 61 elif [ -f /etc/lfs-release ]; then62 system=lfs63 PIDFILE="/var/run/vboxballoonctrl-service.pid"64 61 else 65 62 system=other 66 63 if [ -d /var/run -a -w /var/run ]; then … … 205 202 } 206 203 fi 207 204 208 if [ "$system" = "lfs" ]; then209 . /etc/rc.d/init.d/functions210 if [ -n "$NOLSB" ]; then211 fail_msg() {212 echo_failure213 }214 succ_msg() {215 echo_ok216 }217 begin_msg() {218 echo $1219 }220 fi221 start_daemon() {222 usr="$1"223 shift224 su - $usr -c "$*"225 }226 status() {227 statusproc $1228 }229 fi230 231 205 if [ "$system" = "other" ]; then 232 206 if [ -n "$NOLSB" ]; then 233 207 fail_msg() { -
src/VBox/Installer/linux/vboxweb-service.sh
60 60 elif [ -f /etc/slackware-version ]; then 61 61 system=slackware 62 62 PIDFILE="/var/run/vboxweb-service" 63 elif [ -f /etc/lfs-release ]; then64 system=lfs65 PIDFILE="/var/run/vboxweb-service.pid"66 63 else 67 64 system=other 68 65 if [ -d /var/run -a -w /var/run ]; then … … 207 204 } 208 205 fi 209 206 210 if [ "$system" = "lfs" ]; then211 . /etc/rc.d/init.d/functions212 if [ -n "$NOLSB" ]; then213 fail_msg() {214 echo_failure215 }216 succ_msg() {217 echo_ok218 }219 begin_msg() {220 echo $1221 }222 fi223 start_daemon() {224 usr="$1"225 shift226 su - $usr -c "$*"227 }228 status() {229 statusproc $1230 }231 fi232 233 207 if [ "$system" = "other" ]; then 234 208 if [ -n "$NOLSB" ]; then 235 209 fail_msg() {

