cd /etc/init.d for i in 0 1 2 3 4 5 6; do cd rc$i.d if [ ! -d upstart_disabled ]; then mkdir upstart_disabled fi if [ -h S06binfmt_misc ]; then mv S06binfmt_misc upstart_disabled/S06binfmt_misc fi if [ -h S07cron ]; then mv S07cron upstart_disabled/S07cron fi if [ -h S08cpufreqd ]; then mv S08cpufreqd upstart_disabled/S08cpufreqd fi if [ -h S08pcmciautils ]; then mv S08pcmciautils upstart_disabled/S08pcmciautils fi if [ -h S11fam ]; then mv S11fam upstart_disabled/S11fam fi if [ -h S11rpc ]; then mv S11rpc upstart_disabled/S11rpc fi if [ -h S12dbus ]; then mv S12dbus upstart_disabled/S12dbus fi if [ -h S12xinetd ]; then mv S12xinetd upstart_disabled/S12xinetd fi if [ -h S13bluetooth ]; then mv S13bluetooth upstart_disabled/S13bluetooth fi if [ -h S14autofs ]; then mv S14autofs upstart_disabled/S14autofs fi if [ -h S14hald ]; then mv S14hald upstart_disabled/S14hald fi if [ -h S14midentd ]; then mv S14midentd upstart_disabled/S14midentd fi if [ -h S14sysctl ]; then mv S14sysctl upstart_disabled/S14sysctl fi if [ -h S15sshd ]; then mv S15sshd upstart_disabled/S15sshd fi if [ -h S20smtp ]; then mv S20smtp upstart_disabled/S20smtp fi if [ -h S60cups ]; then mv S60cups upstart_disabled/S60cups fi if [ -h S60nfs.server ]; then mv S60nfs.server upstart_disabled/S60nfs.server fi if [ -h S99xdm ]; then mv S99xdm upstart_disabled/S99xdm fi cd .. done