{"id":368,"date":"2013-05-16T01:53:30","date_gmt":"2013-05-16T01:53:30","guid":{"rendered":"https:\/\/shan.info\/new\/qnap-profile\/"},"modified":"2013-05-16T01:53:30","modified_gmt":"2013-05-16T01:53:30","slug":"qnap-profile","status":"publish","type":"post","link":"https:\/\/shan.info\/new\/qnap-profile\/","title":{"rendered":"qnap .profile"},"content":{"rendered":"<p>\/root\/.profile<\/p>\n<p>\u00a0<\/p>\n<p style=\"margin: 0.4em 0px 0.5em; line-height: 19.046875px; color: #000000; font-family: sans-serif; font-size: 13px;\">To make this setting permanent, you can add this to your .profile, before the &#8216;reset&#8217; line<\/p>\n<pre style=\"padding: 1em 1em 25px; border: 1px dashed #2f6fab; background-color: #eeeeee; line-height: 1.1em; overflow-x: auto; width: 1231.0625px;\">export PS1='[w] # '\r\nexport TERMINFO='\/usr\/share\/terminfo\/'\r\nreset<\/pre>\n<p style=\"margin: 0.4em 0px 0.5em; line-height: 19.046875px; color: #000000; font-family: sans-serif; font-size: 13px;\">This assumes that you are using the default QNAP shell of \/bin\/sh. If you are using \/bin\/bash, put the export command in .bashrc.<\/p>\n<p style=\"margin: 0.4em 0px 0.5em; line-height: 19.046875px; color: #000000; font-family: sans-serif; font-size: 13px;\">\u00a0<\/p>\n<h4 style=\"color: #000000; background-image: none; margin: 0px 0px 1.3em; padding: 25px 0px 0px; border-bottom-style: none; font-size: 15px; font-family: sans-serif;\"><span id=\"Troubleshooting_2\" class=\"mw-headline\">Troubleshooting<\/span><\/h4>\n<ul style=\"list-style-type: square; margin: 0.3em 0px 0px 1.5em; padding: 0px; list-style-image: url('http:\/\/wiki.qnap.com\/w\/skins\/monobook\/bullet.gif');\">\n<li style=\"margin-bottom: 0.1em;\">If the .profile gets overwritten at reboot (which is the case with firmware 3.8.1) a workaround could be to create a .profile_backup in \/share\/HDA_DATA\/ and overwrite the .profile in autorun.sh with:<\/li>\n<\/ul>\n<pre style=\"padding: 1em 1em 25px; border: 1px dashed #2f6fab; background-color: #eeeeee; line-height: 1.1em; overflow-x: auto; width: 1231.0625px;\">cp \/share\/HDA_DATA\/.profile_backup \/root\/.profile<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\/root\/.profile \u00a0 To make this setting permanent, you can add this to your .profile, before the &#8216;reset&#8217; line export PS1='[w] # &#8216; export TERMINFO=&#8217;\/usr\/share\/terminfo\/&#8217; reset This assumes that you are using the default QNAP shell of \/bin\/sh. If you are using \/bin\/bash, put the export command in .bashrc. \u00a0 Troubleshooting If the .profile gets overwritten [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[50],"tags":[],"class_list":["post-368","post","type-post","status-publish","format-standard","hentry","category-qnap"],"_links":{"self":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/comments?post=368"}],"version-history":[{"count":0,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/368\/revisions"}],"wp:attachment":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/media?parent=368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/categories?post=368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/tags?post=368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}