mostly fixes for new error handling
[distro-setup] / disabled / kodi-setup
index 004acac1b54675a093993f6aa01a212d90646f45..6a4f8f8143d58defa6acb19ed37cf79f4589fafe 100644 (file)
@@ -1,6 +1,7 @@
-#!/bin/bash -l
+#!/bin/bash
 
 # this is from distro-end
+if [[ -s ~/.bashrc ]];then . ~/.bashrc;fi
 
 pi kodi
 
@@ -24,7 +25,7 @@ $a RPCMOUNTDOPTS="--manage-gids --port 32767"
 EOF
 ser restart nfs-kernel-server
 
-if [[ $HOSTNAME == treetowl ]]; then
+if [[ $HOSTNAME == kd ]]; then
     # persistent one time steps for webdav:
     # create persistent password, put it in ~/.kodi/userdata/advancedsettings.xml,
     # per http://kodi.wiki/view/MySQL/Sync_other_parts_of_Kodi