Ignore:
Timestamp:
04/30/09 02:02:48 (4 years ago)
Author:
alanbach-guest
Message:
  • Revert live-autoconfig to 1.0.11
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pkg/kev/main/initscripts-parsix-live/trunk/debian/live-autoconfig.init

    r5147 r5148  
    920920echo -n "${NORMAL}" 
    921921 
     922# KANOTIX autoconfig 
     923 
    922924# udev support 
    923925 
     
    930932        RUNLEVEL=S /etc/init.d/udev start &>/dev/null 
    931933                # load capability LSM (needed for hal) 
    932                 modprobe capability &>/dev/null                  
     934                modprobe capability &>/dev/null 
     935                if [ -x /etc/init.d/dbus-1 ]; then 
     936                        /etc/init.d/dbus-1 start &>/dev/null 
     937                elif [ -x /etc/init.d/dbus ]; then 
     938                        /etc/init.d/dbus start &>/dev/null 
     939                fi 
    933940        fi                                                                                                            
    934941fi 
     
    969976                        basename="${basename%%.*}" 
    970977                        case "$basename" in *_acpi) 
    971                                 egrep -qi "${basename%%_acpi}" /proc/acpi/dsdt 2>/dev/null &>/dev/null || continue ;; 
     978                                egrep -qi "${basename%%_acpi}" /proc/acpi/dsdt 2>/dev/null || continue ;; 
    972979                        esac 
    973980                        modprobe $basename &>/dev/null && echo -n " ${YELLOW}$basename${GREEN}" && found="yes" 
     
    975982                test -z "$found" && echo -n "${BLUE}(none)" 
    976983                echo "${NORMAL}" 
    977                 fuser -k /proc/acpi/event &>/dev/null &>/dev/null 
    978                 /etc/init.d/acpid start &>/dev/null &>/dev/null 
     984                fuser -k /proc/acpi/event &>/dev/null 
     985                /etc/init.d/acpid start &>/dev/null 
    979986        fi 
    980987else 
     
    13171324 
    13181325# Fat-Client-Version: DHCP Broadcast for IP address 
    1319 #if checkbootparam "nodhcp"; then 
    1320 #       echo " ${BLUE}Skipping DHCP broadcast/network detection as requested on boot commandline.${NORMAL}" 
    1321 #else 
    1322 #       NETDEVICES="$(awk -F: '/ath.:|eth.:|tr.:|wlan.:/{print $1}' /proc/net/dev 2>/dev/null)" 
    1323 #       for DEVICE in $NETDEVICES; do 
    1324 #               echo -n " ${GREEN}Network device ${MAGENTA}$DEVICE${GREEN} detected, DHCP broadcasting for IP.${NORMAL}" 
    1325 #               trap 2 3 11 
    1326 #               pump -i $DEVICE &>/dev/null & 
    1327 #               trap "" 2 3 11 
    1328 #               sleep 1 
    1329 #               echo " ${BLUE}(Backgrounding)${NORMAL}" 
    1330 #       done 
    1331 #fi 
    1332  
    1333  
    1334 # Load DBUS 
    1335 echo " ${GREEN}Starting ${YELLOW}DBUS${GREEN} Service...${NORMAL}" 
    1336 /etc/init.d/dbus start 
    1337  
    1338 # Load HAL 
    1339 echo " ${GREEN}Starting ${YELLOW}HAL${GREEN} Service...${NORMAL}" 
    1340 /etc/init.d/hal start 
    1341  
    1342 # Load NetworkManager 
    1343 echo " ${GREEN}Starting ${YELLOW}NetworkManager${GREEN} Service...${NORMAL}" 
    1344 /etc/init.d/network-manager start 
     1326if checkbootparam "nodhcp"; then 
     1327        echo " ${BLUE}Skipping DHCP broadcast/network detection as requested on boot commandline.${NORMAL}" 
     1328else 
     1329        NETDEVICES="$(awk -F: '/ath.:|eth.:|tr.:|wlan.:/{print $1}' /proc/net/dev 2>/dev/null)" 
     1330        for DEVICE in $NETDEVICES; do 
     1331                echo -n " ${GREEN}Network device ${MAGENTA}$DEVICE${GREEN} detected, DHCP broadcasting for IP.${NORMAL}" 
     1332                trap 2 3 11 
     1333                pump -i $DEVICE &>/dev/null & 
     1334                trap "" 2 3 11 
     1335                sleep 1 
     1336                echo " ${BLUE}(Backgrounding)${NORMAL}" 
     1337        done 
     1338fi 
    13451339 
    13461340findfile(){ 
     
    16011595        source "$MYCONFIG" "/home/${FLL_LIVE_USER}" || true 
    16021596        echo "0" > /proc/sys/kernel/printk       
     1597fi 
     1598 
     1599 
     1600# modem detection 
     1601if ! checkbootparam "nomodem"; then 
     1602        if lspci|grep Intel|grep -q "AC'97 Modem Controller"; then 
     1603                /etc/init.d/sl-modem-daemon start &>/dev/null 
     1604                grep -q ^sl-modem-daemon /etc/sysconfig/services &>/dev/null || echo sl-modem-daemon >> /etc/sysconfig/services 
     1605        fi 
    16031606fi 
    16041607 
Note: See TracChangeset for help on using the changeset viewer.