Changeset 15368


Ignore:
Timestamp:
10/05/10 18:13:00 (3 years ago)
Author:
BrainSlayer
Message:

initialize different

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/services/sysinit/devinit.c

    r15068 r15368  
    7373#ifdef HAVE_HOTPLUG2 
    7474        // shell-skript. otherwise we loose our console 
    75         system("/etc/hotplug2.startup"); 
     75        system("echo >/proc/sys/kernel/hotplug"); 
     76        system("mount -t tmpfs none /dev -o size=512K"); 
     77        system("mknod /dev/console c 5 1\n"); 
    7678        system("mkdir /dev/pts"); 
    7779#else 
     
    98100        mkdir("/var/run", 0777); 
    99101        mkdir("/var/tmp", 0777); 
     102 
     103#ifdef HAVE_HOTPLUG2 
     104        system("/etc/hotplug2.startup"); 
     105#endif 
    100106} 
Note: See TracChangeset for help on using the changeset viewer.