/etc/init.d/webconverger
Dependencies on other Webconverger scripts: None
Can only be saved in a subscribed "install version".
Only really used for persistent installs "install version". This typically holds values related to network setup.
- wireless
- proxy
Logged in /var/log/bootlog
Once the network is setup, on a Debian system /etc/network/if-up.d is run, however in many cases in our experience only the interface is up and not the network neccessarily.
Therefore we have:
/etc/network/if-up.d/after-network-up
Which executes scripts in /etc/webc/network-up.d
/etc/webc/live-config.sh controlled via inittab
Dependencies on other Webconverger scripts: webc-id which is run from .xinitrc
These are items that need to be run as root.
This is not the place where things can be run as the user.
logs() is defined in /etc/webc/webc.conf
logs ()
{
logger -t $0 -p daemon.info "$@"
}
/home/webc/.xinitrc
Dependencies on other Webconverger scripts: Waits for /etc/webc/id from webc-id
These are items that can run as the webc user
Logged in /home/webc/.xerrors
Note that only the bottom loop runs between browser sessions. For settings to take effect, it's best to reboot the machine.
Boot order
- .xinitrc blocks on network image
- Network setup
- webc-id has an id
- .xinitrc blocks on config image, echos read into $ive_config_pipe
- live-config
- updates (todo this needs to be triggered from live-config)
- .xinitrc launches browser loop
Debugging
Append debug on cmdline and view /var/log/syslog. You can export logs using the log= API