dotfiles

My collection of dotfiles
git clone git://git.stellar-nexus.ru/dotfiles
Log | Files | Refs

sinit-scripts-1.0-r1 (503B)


      1 #!/bin/sh
      2 
      3 echo;
      4 
      5 log() {
      6 	format="[ OK ]"
      7 	echo "$format $1" > /dev/console
      8 }
      9 
     10 log "mdevd"
     11 lk_runsvc /etc/rc/mdevd 0
     12 
     13 log "cgroups"
     14 lk_runsvc /etc/rc/cgroups 0
     15 log "sysctl"
     16 lk_runsvc /etc/rc/sysctl 0
     17 
     18 log "ttys"
     19 lk_runsvc /etc/rc/ttyx 0
     20 lk_runsvc /etc/rc/tty2 0
     21 lk_runsvc /etc/rc/tty3 0
     22 lk_runsvc /etc/rc/tty4 0
     23 lk_runsvc /etc/rc/tty5 0
     24 lk_runsvc /etc/rc/tty6 0
     25 
     26 log "drivers"
     27 lk_runsvc /etc/rc/drivers 0
     28 
     29 log "internet"
     30 lk_runsvc /etc/rc/inet 0
     31 
     32 log "sound"
     33 lk_runsvc /etc/rc/sound 0
     34 
     35 lk_forever 3600