OpenVZ Forum - RDF feed
type: channel
items: Scripts in /etc/network/if-up.d don't run when rebooting
items: Re: Scripts in /etc/network/if-up.d don't run when rebooting

Scripts in /etc/network/if-up.d don't run when rebooting
type: item
description: 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.
creator: curvedmark
date: 2015-03-27T09:27:45-00:00

Re: Scripts in /etc/network/if-up.d don't run when rebooting
type: item
description: Could anybody help me? Is openvz known to ignore scripts in ip-up.d? Any help is appreciated. Thanks.
creator: curvedmark
date: 2015-04-23T02:48:57-00:00