Subversion Repositories livecd

Rev

Rev 14 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14 Rev 16
Line 85... Line 85...
85
### restore cronjobs
85
### restore cronjobs
86
mv /etc/cron_backup/sysstat /etc/cron.d/ 2>/dev/null
86
mv /etc/cron_backup/sysstat /etc/cron.d/ 2>/dev/null
87
mv /etc/cron_backup/00-makewhatis.cron.weekly /etc/cron.weekly/00-makewhatis.cron 2>/dev/null
87
mv /etc/cron_backup/00-makewhatis.cron.weekly /etc/cron.weekly/00-makewhatis.cron 2>/dev/null
88
mv /etc/cron_backup/* /etc/cron.daily/
88
mv /etc/cron_backup/* /etc/cron.daily/
89
 
89
 
90
### special file for PSI
-
 
91
if [ $PSI ]; then
-
 
92
    echo "root" > /etc/security/users
-
 
93
fi
-
 
94
 
-
 
95
### set root password again
90
### set root password again
96
[ "$SET_ROOTPWD" = "yes" ] && passwd
91
[ "$SET_ROOTPWD" = "yes" ] && passwd
97
[ "$SET_ROOTPWD" != "yes" ] && echo "Please note: root password is unset, run passwd to set it again."
92
[ "$SET_ROOTPWD" != "yes" ] && echo "Please note: root password is unset, run passwd to set it again."