- Κώδικας: Επιλογή όλων
sudo update-rc.d -f rcd.local defaults
sudo update-rc.d -f rcd.local defaults
mm@mm-desktop:~/PowerD$ sudo update-rc.d -f rcd.local defaults
[sudo] password for mm:
update-rc.d: warning: /etc/init.d/rcd.local missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
System startup links for /etc/init.d/rcd.local already exist.
mm@mm-desktop:~/PowerD$
ls -la /etc/init.d/
mm@mm-desktop:~$ ls -la /etc/init.d/
σύνολο 404
drwxr-xr-x 2 root root 4096 2009-11-04 19:13 .
drwxr-xr-x 142 root root 12288 2009-11-05 00:02 ..
-rwxr-xr-x 1 root root 3187 2008-09-26 04:25 acpid
-rwxr-xr-x 1 root root 762 2009-03-25 21:49 acpi-support
-rwxr-xr-x 1 root root 10150 2009-04-08 03:06 alsa-utils
-rwxr-xr-x 1 root root 1297 2008-09-03 02:37 anacron
-rwxr-xr-x 1 root root 1663 2009-02-27 03:23 apmd
-rwxr-xr-x 1 root root 2727 2009-04-08 17:53 apparmor
-rwxr-xr-x 1 root root 2630 2009-04-07 02:45 apport
-rwxr-xr-x 1 root root 1018 2009-04-17 10:53 atd
-rwxr-xr-x 1 root root 2590 2009-03-23 12:17 avahi-daemon
-rwxr-xr-x 1 root root 1109 2005-10-27 15:15 binfmt-support
-rwxr-xr-x 1 root root 4524 2009-04-01 11:51 bluetooth
-rwxr-xr-x 1 root root 2231 2009-03-31 12:01 bootlogd
-rwxr-xr-x 1 root root 1299 2009-03-31 12:01 bootlogs.sh
-rwxr-xr-x 1 root root 1206 2009-03-31 12:01 bootmisc.sh
-rwxr-xr-x 1 root root 2031 2009-03-18 05:20 brltty
-rwxr-xr-x 1 root root 3520 2009-03-31 12:01 checkfs.sh
-rwxr-xr-x 1 root root 10518 2009-03-31 12:01 checkroot.sh
-rwxr-xr-x 1 root root 1670 2009-01-12 01:54 console-setup
-rwxr-xr-x 1 root root 2653 2008-11-12 17:47 cron
-rwxr-xr-x 1 root root 2526 2009-04-17 12:16 cups
-rwxr-xr-x 1 root root 4632 2009-01-27 16:37 dbus
-rwxr-xr-x 1 root root 1235 2009-02-20 19:56 dns-clean
-rwxr-xr-x 1 root root 3598 2009-04-03 11:23 gdm
-rwxr-xr-x 1 root root 5649 2009-04-09 11:19 glibc.sh
-rwxr-xr-x 1 root root 2091 2009-04-03 18:18 hal
-rwxr-xr-x 1 root root 1329 2009-03-31 12:01 halt
-rwxr-xr-x 1 root root 1287 2009-03-31 12:01 hostname.sh
-rwxr-xr-x 1 root root 917 2009-04-06 17:32 hotkey-setup
-rwxr-xr-x 1 root root 5183 2009-02-18 21:43 hwclock.sh
-rwxr-xr-x 1 root root 1404 2009-01-12 01:54 keyboard-setup
-rwxr-xr-x 1 root root 1484 2009-03-31 12:01 killprocs
-rwxr-xr-x 1 root root 1816 2009-01-23 20:33 klogd
-rwxr-xr-x 1 root root 2290 2009-03-30 11:37 laptop-mode
-rwxr-xr-x 1 root root 349 2009-03-26 16:43 linux-restricted-modules-common
-rwxr-xr-x 1 root root 1399 2009-03-18 18:02 module-init-tools
-rwxr-xr-x 1 root root 620 2009-03-31 12:01 mountall-bootclean.sh
-rwxr-xr-x 1 root root 1956 2009-03-31 12:01 mountall.sh
-rwxr-xr-x 1 root root 1351 2009-03-31 12:01 mountdevsubfs.sh
-rwxr-xr-x 1 root root 2350 2009-03-31 12:01 mountkernfs.sh
-rwxr-xr-x 1 root root 618 2009-03-31 12:01 mountnfs-bootclean.sh
-rwxr-xr-x 1 root root 2330 2009-03-31 12:01 mountnfs.sh
-rwxr-xr-x 1 root root 1321 2009-03-31 12:01 mountoverflowtmp
-rwxr-xr-x 1 root root 3668 2009-03-31 12:01 mtab.sh
-rwxr-xr-x 1 root root 2417 2009-03-05 17:02 networking
-rwxr-xr-x 1 root root 1822 2009-04-14 15:33 NetworkManager
-rwxr-xr-x 1 root root 882 2009-03-31 12:01 ondemand
-rwxr-xr-x 1 root root 2398 2009-03-09 18:41 pcmciautils
-rwxr-xr-x 1 root root 687 2009-01-09 05:17 policykit
-rwxr-xr-x 1 root root 4695 2008-11-05 15:03 postfix
-rwxr-xr-x 1 root root 420 2009-02-20 19:24 pppd-dns
-rwxr-xr-x 1 root root 1247 2009-03-19 00:17 procps
-rwxr-xr-x 1 root root 2186 2009-04-09 03:02 pulseaudio
-rwxr-xr-x 1 root root 10042 2009-03-31 12:01 rc
-rw-r--r-- 1 root root 252 2009-11-04 19:13 rcd.local
-rw-r--r-- 1 root root 126 2009-11-04 19:13 rcd.local.old.PowerD
-rwxr-xr-x 1 root root 788 2009-03-31 12:01 rc.local
-rwxr-xr-x 1 root root 117 2009-03-31 12:01 rcS
-rwxr-xr-x 1 root root 1758 2009-04-20 15:21 readahead
-rwxr-xr-x 1 root root 2180 2009-04-20 15:21 readahead-desktop
-rw-r--r-- 1 root root 1510 2009-03-31 12:01 README
-rwxr-xr-x 1 root root 639 2009-03-31 12:01 reboot
-rwxr-xr-x 1 root root 941 2009-03-31 12:01 rmnologin
-rwxr-xr-x 1 root root 5200 2009-02-27 03:27 rsync
-rwxr-xr-x 1 root root 1713 2009-03-27 09:46 saned
-rwxr-xr-x 1 root root 918 2009-02-11 14:16 screen-cleanup
-rwxr-xr-x 1 root root 2283 2009-03-31 12:01 sendsigs
-rwxr-xr-x 1 root root 590 2009-03-31 12:01 single
-rw-r--r-- 1 root root 4167 2009-03-31 12:01 skeleton
-rwxr-xr-x 1 root root 525 2009-03-31 12:01 stop-bootlogd
-rwxr-xr-x 1 root root 1096 2009-03-31 12:01 stop-bootlogd-single
-rwxr-xr-x 1 root root 1063 2009-04-20 15:21 stop-readahead
-rwxr-xr-x 1 root root 3582 2009-01-23 20:33 sysklogd
-rwxr-xr-x 1 root root 2704 2009-04-10 06:04 system-tools-backends
-rwxr-xr-x 1 root root 3421 2009-04-09 03:17 udev
-rwxr-xr-x 1 root root 1245 2009-04-09 03:17 udev-finish
-rwxr-xr-x 1 root root 2064 2009-04-03 18:52 ufw
-rwxr-xr-x 1 root root 3627 2009-03-31 12:01 umountfs
-rwxr-xr-x 1 root root 2140 2009-03-31 12:01 umountnfs.sh
-rwxr-xr-x 1 root root 1456 2009-03-31 12:01 umountroot
-rwxr-xr-x 1 root root 1815 2009-03-31 12:01 urandom
-rwxr-xr-x 1 root root 2964 2009-02-08 01:12 usplash
-rwxr-xr-x 1 root root 1346 2009-10-01 17:28 winbind
-rwxr-xr-x 1 root root 2327 2009-04-09 04:43 wpa-ifupdown
-rwxr-xr-x 1 root root 1777 2008-12-05 02:44 x11-common
mm@mm-desktop:~$
-rw-r--r-- 1 root root 252 2009-11-04 19:13 rcd.local
-rw-r--r-- 1 root root 126 2009-11-04 19:13 rcd.local.old.PowerD
locate rcd.local
mm@mm-desktop:~$ locate rcd.local
/etc/init.d/rcd.local
/etc/init.d/rcd.local.old.PowerD
/etc/rc0.d/K20rcd.local
/etc/rc1.d/K20rcd.local
/etc/rc2.d/S20rcd.local
/etc/rc3.d/S20rcd.local
/etc/rc4.d/S20rcd.local
/etc/rc5.d/S20rcd.local
/etc/rc6.d/K20rcd.local
mm@mm-desktop:~$
Πως θα δω αν έχει γίνει η εγκατάσταση και αν τρέχει; Θα τρέχει κάθε φορά που ανοίγω το Ubuntu; Και τελικά, ποια διαδικασία έπρεπε να κάνω για να γίνει η εγκατάσταση; Υπάρχουν συγκεκριμένοι φάκελοι στους οποίους μπαίνουν συγκεκριμένα προγράμματα, η κάνεις εγκατάσταση σε όποιον φάκελο θέλεις;
mantou έγραψε:Εγώ θα πρέπει να κάνω κάτι;
- Κώδικας: Επιλογή όλων
Πως θα δω αν έχει γίνει η εγκατάσταση και αν τρέχει; Θα τρέχει κάθε φορά που ανοίγω το Ubuntu; Και τελικά, ποια διαδικασία έπρεπε να κάνω για να γίνει η εγκατάσταση; Υπάρχουν συγκεκριμένοι φάκελοι στους οποίους μπαίνουν συγκεκριμένα προγράμματα, η κάνεις εγκατάσταση σε όποιον φάκελο θέλεις;