diff options
author | Eric Hameleers <alien@slackware.com> | 2017-05-02 22:10:20 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2017-05-02 22:10:20 +0200 |
commit | 204ba11b83b706b1dafff30a5023c8bf999c7202 (patch) | |
tree | a448ea71ea9ce29ee430423cb2c64d5298aaad7a /make_slackware_live.sh | |
parent | bb046a9f25e399a3817cd51f635ddb86e426f29f (diff) | |
download | liveslak-204ba11b83b706b1dafff30a5023c8bf999c7202.tar.gz liveslak-204ba11b83b706b1dafff30a5023c8bf999c7202.tar.xz |
Add some convenience aliases to root's shell environment as well
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-x | make_slackware_live.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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/ |