Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # /etc/init/hold-interfaces.conf
- start on starting network-interface and started mark-configured
- instance holding${INTERFACE:+/}${INTERFACE:-}
- task
- exec :
- start on network-rules-ready
- task
- exec :
- # /etc/init/configure_interfaces.conf
- start on local-filesystems
- task
- script
- find_and_mount_local_hard_disk # abbreviated
- install_stored_rules_and_other_network_configurations # abbreviated
- udevadm control --reload-rules
- # Stop all active network-interface upstart jobs (with data from old rules)
- stop_active_network_interface_jobs # abbreviated, using: initctl stop network-interface <interface>
- # Allow next network-interface jobs
- # (with data from stored rules) to complete.
- initctl emit --no-wait network-rules-ready
- # Trigger udev recognition.
- udevadm trigger --action='add' --subsystem-match='net'
- end script
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement