From 8507d5e2e7f739534148b57a48fef766da1b174a Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Wed, 4 May 2011 04:00:54 +0200 Subject: [PATCH] rc.local: Adding comment --- overlay/etc/rc.local | 1 + overlay/opt/bin/{create_pershome.sh => lglive-pershome.sh} | 0 2 files changed, 1 insertion(+) rename overlay/opt/bin/{create_pershome.sh => lglive-pershome.sh} (100%) diff --git a/overlay/etc/rc.local b/overlay/etc/rc.local index 5e2bf09..5ec9ea9 100755 --- a/overlay/etc/rc.local +++ b/overlay/etc/rc.local @@ -33,6 +33,7 @@ if [[ `blkid|grep -o LGLIVE_HOME` ]]; then mkdir -p /home/gamer mount -L LGLIVE_HOME /home/gamer if [[ ! -f "/home/gamer/.xinitrc" ]]; then + # This should only happen if this is a fresh home su -c "cp -r /etc/skel/.[a-zA-Z0-9]* /home/gamer/" su -c "cp -r /etc/skel/* /home/gamer/" fi diff --git a/overlay/opt/bin/create_pershome.sh b/overlay/opt/bin/lglive-pershome.sh similarity index 100% rename from overlay/opt/bin/create_pershome.sh rename to overlay/opt/bin/lglive-pershome.sh