]> TLD Linux GIT Repositories - packages/rc-scripts.git/blob - misc_fixes.patch
- fix network init script
[packages/rc-scripts.git] / misc_fixes.patch
1 diff -ur rc-scripts-0.5.1.orig/rc.d/init.d/network rc-scripts-0.5.1/rc.d/init.d/network
2 --- rc-scripts-0.5.1.orig/rc.d/init.d/network   2018-07-11 21:54:22.000000000 +0000
3 +++ rc-scripts-0.5.1/rc.d/init.d/network        2018-07-22 23:26:49.256418466 +0000
4 @@ -168,7 +168,7 @@
5                                 DEVICE=""; ONBOOT=""; USERS=""; . "$i" 2>/dev/null
6                                 [ "${DEVICE:+set}" != "set" ] && continue
7                                 [ ${USERS:-no} != no ] && continue
8 -                               is_yes [ ${ONBOOT:-no} && echo "${i##*/ifcfg-}"
9 +                               is_yes ${ONBOOT:-no} && echo "${i##*/ifcfg-}"
10                         done
11                 `
12  
13 diff -ur rc-scripts-0.5.1.orig/sysconfig/system rc-scripts-0.5.1/sysconfig/system
14 --- rc-scripts-0.5.1.orig/sysconfig/system      2018-07-11 21:54:22.000000000 +0000
15 +++ rc-scripts-0.5.1/sysconfig/system   2018-07-22 23:26:23.805419983 +0000
16 @@ -13,7 +13,6 @@
17  CONSOLE_LOGLEVEL=1
18  
19  # On errors (when system is starting) run sulogin instead of shell ?
20 -# This option disables debuginitrd=sh in geninitrd as well.
21  RUN_SULOGIN_ON_ERR=yes
22  
23  # Default run nice level for all services if $SERVICE_RUN_NICE_LEVEL is not