#!/bin/sh . /etc/profile # Start all init scripts in /etc/init.d # executing them in numerical order. # for i in /etc/rcS.d/S??* ;do # Ignore dangling symlinks (if any). #[ ! -f "$i" ] && continue case "$i" in *.sh) # Source shell script for speed. ( trap - INT QUIT TSTP set start . $i ) ;; *init_qpkg) $i start ;; *mountall) $i start ;; *Qthttpd) $i start ;; *smb) $i start ;; *ftp) $i start ;; *nfs) $i start ;; *recycled) $i start ;; *init_nas) $i start ;; *) # No sh extension, so fork subprocess. $i start & ;; esac done #for QPKG for i in /etc/rcS.d/QS??* ;do # Ignore dangling symlinks (if any). #[ ! -f "$i" ] && continue case "$i" in *.sh) # Source shell script for speed. ( trap - INT QUIT TSTP set start . $i ) ;; *) # No sh extension, so fork subprocess. [ -f $i ] && $i start ;; esac done