OpenVZ Forum


Home » General » Support » Scripts in /etc/network/if-up.d don't run when rebooting
Scripts in /etc/network/if-up.d don't run when rebooting [message #51948] Fri, 27 March 2015 09:27 Go to next message
curvedmark is currently offline  curvedmark
Messages: 2
Registered: March 2015
Junior Member
I have an openvz vps, and want to run some script after the network is up. So i put the script in /etc/network/if-up.d/xxx, but the script never run after I reboot my vps (i ask the script to append some text to a file in the /tmp folder, but after rebooting nothing exists in that folder). Manually execute "ifup -a" does run the script.
What might be the problem? I'm using debian 7 template.

I'm not entirely sure this is an openvz problem, but vanilla debian should run these scripts. So I'm at my wits' end.

Not sure what other information I could provide to help diagnose the problem.

Thanks in advance for the help.
Re: Scripts in /etc/network/if-up.d don't run when rebooting [message #52010 is a reply to message #51948] Thu, 23 April 2015 02:48 Go to previous message
curvedmark is currently offline  curvedmark
Messages: 2
Registered: March 2015
Junior Member
Could anybody help me?

Is openvz known to ignore scripts in ip-up.d?

Any help is appreciated. Thanks.
Previous Topic: Separating /var in OpenVZ
Next Topic: vzctl chkpnt - Backup taking failed.
Goto Forum:
  


Current Time: Fri Mar 29 06:25:49 GMT 2024

Total time taken to generate the page: 0.01746 seconds