From 204ba11b83b706b1dafff30a5023c8bf999c7202 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Tue, 2 May 2017 22:10:20 +0200 Subject: Add some convenience aliases to root's shell environment as well --- make_slackware_live.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/make_slackware_live.sh b/make_slackware_live.sh index dab9ca3..7d6aca9 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -1500,6 +1500,10 @@ alias tarview="tar -tvf" set -o ignoreeof EOT +# Do the root account the same favor: +cat ${LIVE_ROOTDIR}/etc/skel/.profile > ${LIVE_ROOTDIR}/root/.profile +chown root:root ${LIVE_ROOTDIR}/root/.profile + # Give XDM a nicer look: mkdir -p ${LIVE_ROOTDIR}/etc/X11/xdm/liveslak-xdm cp -a ${LIVE_TOOLDIR}/xdm/* ${LIVE_ROOTDIR}/etc/X11/xdm/liveslak-xdm/ -- cgit v1.2.3