Not sure if this is a 'bug' or not...
using 1.1.8
When I look at the config backup file (generated via the web interface) in winrar it includes the /etc/rc.d directory. Unfortunately all the files in there are shown as 0 bytes as they are symlinks to files in /etc/init.d ... Should it be backing up the /etc/init.d directory as well?
David
Backup file...
Moderator: Moderators
Re: Backup file...
That's not a bug, that's the correct behavior. The actual scripts are in /etc/init.d, and it's possible something there will change between versions. The links in /etc/rc.d determine which init scripts are enabled. Therefore it makes sense to backup a list of what utilites are enabled, but not the scripts themselves.
Re: Backup file...
Eric
That makes sense. My concern was that the location had changed...
In that case it is also logical to put any 'custom' scripts in /etc/rc.d rather than /etc/init.d ... Not sure if this is / should be documented?
David
That makes sense. My concern was that the location had changed...
In that case it is also logical to put any 'custom' scripts in /etc/rc.d rather than /etc/init.d ... Not sure if this is / should be documented?
David
Re: Backup file...
The location will not change. All init scripts go in /etc/init.d.
Custom scripts really aren't covered by the backup mechanism. They too should really go in /etc/init.d, since if they went in /etc/rc.d they could not be disabled. I guess if you want to be sure they are always active and backed up putting them in /etc/rc.d might be a hack to do this... but it is just that, a hack.
Custom scripts really aren't covered by the backup mechanism. They too should really go in /etc/init.d, since if they went in /etc/rc.d they could not be disabled. I guess if you want to be sure they are always active and backed up putting them in /etc/rc.d might be a hack to do this... but it is just that, a hack.