OpenWRT: how to apply changes of uci system file
I am using UCI command to set timezone:
uci set system.@system[0].zonename="America/Los_Angeles"
the change reflects immediately after I run:
uci commit
But the changes are not reflected on system time. And after reboot I see the changes that are committed in /etc/config/system
file.
Is there any way I can apply changes without reboot?
I did not find /etc/init.d/system
file as any other, to restart/start/stop and apply changes without reboot.
Also FYI, I don't have /etc/config/timezone
file.
configuration openwrt timezone
add a comment |
I am using UCI command to set timezone:
uci set system.@system[0].zonename="America/Los_Angeles"
the change reflects immediately after I run:
uci commit
But the changes are not reflected on system time. And after reboot I see the changes that are committed in /etc/config/system
file.
Is there any way I can apply changes without reboot?
I did not find /etc/init.d/system
file as any other, to restart/start/stop and apply changes without reboot.
Also FYI, I don't have /etc/config/timezone
file.
configuration openwrt timezone
add a comment |
I am using UCI command to set timezone:
uci set system.@system[0].zonename="America/Los_Angeles"
the change reflects immediately after I run:
uci commit
But the changes are not reflected on system time. And after reboot I see the changes that are committed in /etc/config/system
file.
Is there any way I can apply changes without reboot?
I did not find /etc/init.d/system
file as any other, to restart/start/stop and apply changes without reboot.
Also FYI, I don't have /etc/config/timezone
file.
configuration openwrt timezone
I am using UCI command to set timezone:
uci set system.@system[0].zonename="America/Los_Angeles"
the change reflects immediately after I run:
uci commit
But the changes are not reflected on system time. And after reboot I see the changes that are committed in /etc/config/system
file.
Is there any way I can apply changes without reboot?
I did not find /etc/init.d/system
file as any other, to restart/start/stop and apply changes without reboot.
Also FYI, I don't have /etc/config/timezone
file.
configuration openwrt timezone
configuration openwrt timezone
edited Sep 21 '16 at 7:50
countermode
5,21841943
5,21841943
asked Sep 21 '16 at 7:43
Anmol Porwal
62
62
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
The timezone you use, must be listed in /etc/TZ
- make sure
/tmp/TZ
exists - check if
/etc/TZ
exists. If not, copy theTZ
file from/tmp
to/etc
I am quite confident, that /etc/config/timezone
is not even needed.
add a comment |
Luci have fatals bugs.
You need to manually commit unsaved changes.
nvram show // to verify the changes
nvram commit
Hello sir what bugs are you talking about? Thanks
– justinnoor.io
Oct 18 '18 at 3:08
add a comment |
find your TZ string in Time Zones
$ cd /tmp
$ echo PST8PDT,M3.2.0,M11.1.0> TZ
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f311264%2fopenwrt-how-to-apply-changes-of-uci-system-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
The timezone you use, must be listed in /etc/TZ
- make sure
/tmp/TZ
exists - check if
/etc/TZ
exists. If not, copy theTZ
file from/tmp
to/etc
I am quite confident, that /etc/config/timezone
is not even needed.
add a comment |
The timezone you use, must be listed in /etc/TZ
- make sure
/tmp/TZ
exists - check if
/etc/TZ
exists. If not, copy theTZ
file from/tmp
to/etc
I am quite confident, that /etc/config/timezone
is not even needed.
add a comment |
The timezone you use, must be listed in /etc/TZ
- make sure
/tmp/TZ
exists - check if
/etc/TZ
exists. If not, copy theTZ
file from/tmp
to/etc
I am quite confident, that /etc/config/timezone
is not even needed.
The timezone you use, must be listed in /etc/TZ
- make sure
/tmp/TZ
exists - check if
/etc/TZ
exists. If not, copy theTZ
file from/tmp
to/etc
I am quite confident, that /etc/config/timezone
is not even needed.
answered Jun 27 '17 at 14:45
GABIKA6
1213
1213
add a comment |
add a comment |
Luci have fatals bugs.
You need to manually commit unsaved changes.
nvram show // to verify the changes
nvram commit
Hello sir what bugs are you talking about? Thanks
– justinnoor.io
Oct 18 '18 at 3:08
add a comment |
Luci have fatals bugs.
You need to manually commit unsaved changes.
nvram show // to verify the changes
nvram commit
Hello sir what bugs are you talking about? Thanks
– justinnoor.io
Oct 18 '18 at 3:08
add a comment |
Luci have fatals bugs.
You need to manually commit unsaved changes.
nvram show // to verify the changes
nvram commit
Luci have fatals bugs.
You need to manually commit unsaved changes.
nvram show // to verify the changes
nvram commit
edited Jul 16 '17 at 14:40
Jeff Schaller
38.8k1053125
38.8k1053125
answered Jul 16 '17 at 10:09
Petar Zh.
1
1
Hello sir what bugs are you talking about? Thanks
– justinnoor.io
Oct 18 '18 at 3:08
add a comment |
Hello sir what bugs are you talking about? Thanks
– justinnoor.io
Oct 18 '18 at 3:08
Hello sir what bugs are you talking about? Thanks
– justinnoor.io
Oct 18 '18 at 3:08
Hello sir what bugs are you talking about? Thanks
– justinnoor.io
Oct 18 '18 at 3:08
add a comment |
find your TZ string in Time Zones
$ cd /tmp
$ echo PST8PDT,M3.2.0,M11.1.0> TZ
add a comment |
find your TZ string in Time Zones
$ cd /tmp
$ echo PST8PDT,M3.2.0,M11.1.0> TZ
add a comment |
find your TZ string in Time Zones
$ cd /tmp
$ echo PST8PDT,M3.2.0,M11.1.0> TZ
find your TZ string in Time Zones
$ cd /tmp
$ echo PST8PDT,M3.2.0,M11.1.0> TZ
edited Jun 23 '18 at 6:53
slm♦
247k66511677
247k66511677
answered Jun 23 '18 at 5:48
user9869800
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f311264%2fopenwrt-how-to-apply-changes-of-uci-system-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown