Changeset 29038
- Timestamp:
- 05/15/14 17:23:28 (10 years ago)
- Location:
- titan/titan
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/global.h
r29031 r29038 6347 6347 } 6348 6348 6349 void createfav() 6350 { 6351 struct skin* load = getscreen("loading"); 6352 6353 system("rm -rf /mnt/settings/bouquets*"); 6354 system("cp -a /etc/titan.restore/mnt/settings/bouquets* /mnt/settings"); 6355 6356 textbox(_("Message"), _("Standard favorites have been successfully applied.\nYour System will reboot !"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1000, 200, 0, 0); 6357 //write only config file 6358 system("sync"); 6359 writeallconfig(3); 6360 oshutdown(2,2); 6361 system("init 6"); 6362 } 6363 6349 6364 #endif -
titan/titan/menu.h
r29008 r29038 666 666 convertsettings(); 667 667 } 668 else if(ostrcmp("createfav", menuentry->name) == 0) 669 { 670 if(check == 1) return 0; 671 createfav(); 672 } 668 673 else if(ostrcmp("autosearch", menuentry->name) == 0) 669 674 {
Note: See TracChangeset
for help on using the changeset viewer.