From 226680c9b393702b043ff518bfa0f717fb00baac Mon Sep 17 00:00:00 2001 From: Devan Franchini Date: Tue, 6 May 2014 15:28:55 -0400 Subject: [PATCH] tools-hardened/desktop/fluxbox-run.sh: Fixes fluxbox config file issue. The Fluxbox menu can either be a standard default or a custom file. While there is already a custom menu file in existance under files/usermenu, it was not previously being copied over prior to the creation of the ISO. This caused the user to not have a custom menu file upon boot. To fix this, a line has been added to the script which creates the .fluxbox directory prior to building the image. --- tools-hardened/desktop/fluxbox-run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools-hardened/desktop/fluxbox-run.sh b/tools-hardened/desktop/fluxbox-run.sh index 82a76698..c6c85ad9 100755 --- a/tools-hardened/desktop/fluxbox-run.sh +++ b/tools-hardened/desktop/fluxbox-run.sh @@ -45,6 +45,7 @@ setup_usergroups() { chroot "${ROOTFS}"/ chown -R thuser:thuser /home/thuser sed -i 's/# \(%wheel.*NOPASSWD\)/\1/' "${ROOTFS}"/etc/sudoers sed -i 's/^\/usr\/*.*/\/usr\/bin\/fluxbox/' "${ROOTFS}"/etc/skel/.xinitrc + mkdir -p "${ROOTFS}"/home/thuser/.fluxbox cp -f files/usermenu "${ROOTFS}"/home/thuser/.fluxbox/my-menu }