diff options
Diffstat (limited to 'initrd/distro-specs/ubuntu/functions-6.06')
| -rw-r--r-- | initrd/distro-specs/ubuntu/functions-6.06 | 46 |
1 files changed, 1 insertions, 45 deletions
diff --git a/initrd/distro-specs/ubuntu/functions-6.06 b/initrd/distro-specs/ubuntu/functions-6.06 index a4bcc66c..e439df4f 100644 --- a/initrd/distro-specs/ubuntu/functions-6.06 +++ b/initrd/distro-specs/ubuntu/functions-6.06 @@ -13,7 +13,7 @@ # distro specific stuff to initialize preinit () { echo "Creating dhcp user" - echo "dhcp:x:101:" >>/etc/group + echo "dhcp:x:101:">>/etc/group echo "dhcp:x:101:101::/nonexistent:/bin/false" >>/etc/passwd # mount/unionfs can not handle the nfsro parameter in Ubuntu 6.06 NFSRO="" @@ -40,53 +40,9 @@ udev_hotplug () { : } -# function for atd -config_atd () { -if [ "x$start_atd" = "xyes" ]; then - # fixme!! needed? Fix permissions - #testmkd /mnt/var/spool/cron/atjobs - #testmkd /mnt/var/spool/cron/atspool - #chown /mnt/var/spool/cron/atjobs /mnt/var/spool/cron/atspool - rllinker "atd" "89" "01" -fi -} -# function for configuration of cron services -config_cron () { -if [ "x$start_cron" = "xyes" ] ; then - if [ -f /mnt/etc/init.d/cron ] ; then - rllinker "cron" "89" "01" - testmkd /mnt/var/spool/cron/crontabs - echo -e "# /etc/crontab - file generated by $0:\n\ -#\t$date\nSHELL=/bin/sh\nPATH=/usr/bin:/usr/sbin:/sbin:/bin:/usr/lib/news/bin\ -\nMAILTO=\n-*/15 * * * *\troot\ttest -x /usr/lib/cron/run-crons && \ -/usr/lib/cron/run-crons >/dev/null 2>&1\n" >/mnt/etc/crontab - else - error "$df_errcron" nonfatal - fi -fi -} -# secure shell service -config_sshd () { -if [ "x$start_sshd" = "xyes" ] ; then - if [ -f /mnt/etc/init.d/ssh ] ; then - rllinker "ssh" "20" "02" - fi -fi -} -# snmp agent for remote monitoring -config_snmp () { -if [ "x$start_snmp" = "xyes" ] ; then - if [ -f /mnt/etc/init.d/snmpd ] ; then - rllinker "snmpd" "30" "03" - testmkd /mnt/var/lib/net-snmp >/dev/null 2>&1 - fi - # fixme!! - # write service monitor depending on services started - fi -} # x11 stuff descsession () { |
