changed the min_role_id for the 'initscript' tag type from 10 (admin) to 30 (user)
[myplc.git] / db-config.d / 11-bootstates
1 default_boot_states = [
2     'boot',
3     'failboot',
4     'safeboot',
5     'install',
6     'reinstall',
7     'disabled',
8 ]
9 current_boot_states = GetBootStates()
10 for state in default_boot_states:
11     if state not in current_boot_states:
12         AddBootState(state)
13
14 # TODO: Delete old boot states. 
15 if False:# NOTE: Only set Ture if all federating peers have the new default boot states above.
16     for state in current_boot_states:
17         if state not in default_boot_states:
18             DeleteBootState(state)
19