fluxbox-run.sh: Moves background setting sed lower down in setup_usergroups () function
This commit is contained in:
parent
de5658d405
commit
de943032fe
1 changed files with 2 additions and 2 deletions
|
@ -28,8 +28,8 @@ setup_usergroups() {
|
||||||
cp -f files/usermenu "${ROOTFS}"/usr/share/fluxbox/
|
cp -f files/usermenu "${ROOTFS}"/usr/share/fluxbox/
|
||||||
cp -f files/fluxbox-startup "${ROOTFS}"/usr/share/fluxbox/startup
|
cp -f files/fluxbox-startup "${ROOTFS}"/usr/share/fluxbox/startup
|
||||||
|
|
||||||
sed -i '2 i\fbsetbg \/usr\/share\/backgrounds\/backgrounds.jpg' "${ROOTFS}"/etc/skel/.xinitrc
|
|
||||||
sed -i 's/^\/usr\/*.*/exec startfluxbox/' "${ROOTFS}"/etc/skel/.xinitrc
|
sed -i 's/^\/usr\/*.*/exec startfluxbox/' "${ROOTFS}"/etc/skel/.xinitrc
|
||||||
|
sed -i '2 i\fbsetbg \/usr\/share\/backgrounds\/background.jpg' "${ROOTFS}"/etc/skel/.xinitrc
|
||||||
mkdir -p "${ROOTFS}"/etc/skel/{Desktop,Documents,Downloads,Music,Pictures,Public,Templates,Videos,.ssh,.cache/dconf,.config/dconf,.fluxbox}
|
mkdir -p "${ROOTFS}"/etc/skel/{Desktop,Documents,Downloads,Music,Pictures,Public,Templates,Videos,.ssh,.cache/dconf,.config/dconf,.fluxbox}
|
||||||
|
|
||||||
chmod 700 "${ROOTFS}"/etc/skel/.ssh
|
chmod 700 "${ROOTFS}"/etc/skel/.ssh
|
||||||
|
@ -39,6 +39,7 @@ setup_usergroups() {
|
||||||
rm -rf "${ROOTFS}"/home/thuser
|
rm -rf "${ROOTFS}"/home/thuser
|
||||||
cp -a thuser "${ROOTFS}"/home/thuser
|
cp -a thuser "${ROOTFS}"/home/thuser
|
||||||
sed -i -e 's/^\/usr\/*.*/exec startfluxbox/' "${ROOTFS}"/home/thuser/.xinitrc
|
sed -i -e 's/^\/usr\/*.*/exec startfluxbox/' "${ROOTFS}"/home/thuser/.xinitrc
|
||||||
|
sed -i '2 i\fbsetbg \/usr\/share\/backgrounds\/background.jpg' "${ROOTFS}"/etc/skel/.xinitrc
|
||||||
cp -a files/{Encrypt,Save,Utilities} "${ROOTFS}"/home/thuser
|
cp -a files/{Encrypt,Save,Utilities} "${ROOTFS}"/home/thuser
|
||||||
rm -rf "${ROOTFS}"/home/thuser/Utilities/post_gnome3_install.sh
|
rm -rf "${ROOTFS}"/home/thuser/Utilities/post_gnome3_install.sh
|
||||||
mkdir -p "${ROOTFS}"/home/thuser/{Desktop,Documents,Downloads,Music,Pictures,Public,Templates,Videos,.ssh,.cache/dconf,.config/dconf,.fluxbox}
|
mkdir -p "${ROOTFS}"/home/thuser/{Desktop,Documents,Downloads,Music,Pictures,Public,Templates,Videos,.ssh,.cache/dconf,.config/dconf,.fluxbox}
|
||||||
|
@ -49,7 +50,6 @@ setup_usergroups() {
|
||||||
|
|
||||||
chroot "${ROOTFS}"/ chown -R thuser:thuser /home/thuser
|
chroot "${ROOTFS}"/ chown -R thuser:thuser /home/thuser
|
||||||
sed -i 's/# \(%wheel.*NOPASSWD\)/\1/' "${ROOTFS}"/etc/sudoers
|
sed -i 's/# \(%wheel.*NOPASSWD\)/\1/' "${ROOTFS}"/etc/sudoers
|
||||||
sed -i 's/^\/usr\/*.*/\/usr\/bin\/fluxbox/' "${ROOTFS}"/etc/skel/.xinitrc
|
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_confs() {
|
setup_confs() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue