I'm trying to change a process to run latter.my runlevelroot@raspberrypi:/home/pi# runlevelN 3The rc3.d listingroot@raspberrypi:/home/pi# ls -1 /etc/rc3.d/K01avahi-daemonK01dhcpcdK01ntpREADMES01bootlogsS01hostapdS01ifplugdS01motdS01rsyslogS01triggerhappyS02apache2S03cronS03dbusS03dphys-swapfileS03rsyncS03sshS03udhcpdS04lightdmS05plymouthS05rc.localS05rmnologinI want to change the hostapd start root@raspberrypi:/home/pi# update-rc.d hostapd defaults 2After I run the command I get no output and process does not change.I need to move this after the network interfaces are brought up. Because it interferes with wlan0 getting it ip address assigned.I'm using Raspbian jessie
update-rc.d not changing order
raspbian
The problem is that setting up links has been automated to resolve dependencies between services, so update-rc.d no longer does anything but call insserv nowadays to do all the work. So it ignores your options, and insserv looks only at the # Required-Start: comments in the header of the init.d scripts to decide what numbers to give them.You can go back to the old style by setting the legacy mode, which you can read about in man update-rc.d, and then your command should work.Alternatively, you can simply change the /etc/init.d/hostapd file and add another dependency, eg $syslog to the end of the existing  # Required-Start: line. (I don't have this file to show you the result). Then rerun your command.