Added elementaryOS to have 'home-fix.sh' run on first boot like Debian
This commit is contained in:
@@ -44,7 +44,7 @@ if [[ "${ID}" == 'fedora' ]]; then
|
|||||||
printf \
|
printf \
|
||||||
"@reboot\tsudo -u ${username} '${baseDir}/finalize.sh'\n@reboot\t/usr/bin/home-fix.sh\n" | \
|
"@reboot\tsudo -u ${username} '${baseDir}/finalize.sh'\n@reboot\t/usr/bin/home-fix.sh\n" | \
|
||||||
tee /var/spool/cron/root &> /dev/null
|
tee /var/spool/cron/root &> /dev/null
|
||||||
elif [[ "${ID}" == 'debian' ]]; then
|
elif [[ "${ID}" == 'debian' ]] || [[ "${ID}" == 'elementary' ]]; then
|
||||||
printf \
|
printf \
|
||||||
"@reboot\tsudo -u ${username} '${baseDir}/finalize.sh'\n@reboot\t/usr/bin/home-fix.sh\n" | \
|
"@reboot\tsudo -u ${username} '${baseDir}/finalize.sh'\n@reboot\t/usr/bin/home-fix.sh\n" | \
|
||||||
tee /var/spool/cron/crontabs/root &> /dev/null
|
tee /var/spool/cron/crontabs/root &> /dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user