|
|
|
![]() |
|
Strumenti |
![]() |
#21 | |
Senior Member
Iscritto dal: Dec 2001
Città: /dev/rotfl
Messaggi: 7276
|
Quote:
![]()
__________________
....::::fluxbox è talmente veloce che quando digito startx, il WM aspetta che il server Xorg lo raggiunga - PiloZ::::...
|
|
![]() |
![]() |
![]() |
#22 |
Senior Member
Iscritto dal: Dec 2001
Città: /dev/rotfl
Messaggi: 7276
|
leggendo questo: http://www.to.infn.it/groups/group4/...13.49.209.html
secondo me il file /etc/rc.d/init.d/functions mi puzza visto che dice: Si tratta di uno script utilizzato da quasi tutti gli altri, per definire alcune funzioni standard. In particolare, queste funzioni, servono per evitare l'avvio di demoni già in funzione e comunque per uniformare il sistema di avvio e conclusione del loro funzionamento. status - Restituisce, attraverso lo standard output, lo stato del servizio corrispondente.
__________________
....::::fluxbox è talmente veloce che quando digito startx, il WM aspetta che il server Xorg lo raggiunga - PiloZ::::...
|
![]() |
![]() |
![]() |
#23 |
Senior Member
Iscritto dal: Dec 2001
Città: /dev/rotfl
Messaggi: 7276
|
non sbagliavo
![]() su che ci siamo...o forse ci sono ![]() http://www.comptechdoc.org/os/linux/...functions.html edit, ho trovato anche questo: http://www.technocenter.net/functions
__________________
....::::fluxbox è talmente veloce che quando digito startx, il WM aspetta che il server Xorg lo raggiunga - PiloZ::::...
Ultima modifica di PiloZ : 18-12-2004 alle 12:33. |
![]() |
![]() |
![]() |
#24 |
Senior Member
Iscritto dal: Jul 2002
Città: Bergamo
Messaggi: 404
|
Codice:
#!/bin/sh # # /etc/rc.sysinit # . /etc/rc.conf . /etc/rc.d/functions echo " " printhl "Arch Linux v0.7 $C_OTHER(${C_H2}Wombat$C_OTHER)\n" printhl "${C_H2}http://www.archlinux.org" printhl "Copyright 2002-2004 Judd Vinet" printhl "Distributed under the GNU General Public License (GPL)" printsep # start up our mini logger until syslog takes over /sbin/minilogd # anything more serious than KERN_WARNING goes to the console /bin/dmesg -n 3 # mount /proc and /sys mount -n -t proc none /proc [ "`grep sysfs /proc/filesystems`" ] && mount -n -t sysfs none /sys if [ -e /dev/.devfsd -a -x /sbin/devfsd ]; then # Looks like devfs is running, use it status "Starting DevFS Daemon" /sbin/devfsd /dev elif [ -x /etc/start_udev -a -d /sys/block ]; then # We have a start_udev script and /sys appears to be mounted, use UDev status "Starting UDev Daemon" /etc/start_udev else # Static /dev, our last resort status "Using static /dev filesystem" /bin/true fi if [ "$USELVM" = "yes" -o "$USELVM" = "YES" ]; then if [ -f /etc/lvmtab -a -x /sbin/vgchange ]; then # Kernel 2.4.x, LVM1 groups stat_busy "Activating LVM1 groups" /sbin/vgchange -a y stat_done elif [ -x /sbin/lvm -a -d /sys/block ]; then # Kernel 2.6.x, LVM2 groups stat_busy "Activating LVM2 groups" /sbin/lvm vgchange --ignorelockingfailure -a y stat_done fi fi status "Activating Swap" /sbin/swapon -a status "Mounting Root Read-only" /bin/mount -n -o remount,ro / if [ -x /sbin/fsck ]; then stat_busy "Checking Filesystems" /sbin/fsck -A -T -C -a if [ $? -gt 1 ]; then stat_fail echo echo "***************** FILESYSTEM CHECK FAILED ****************" echo "* *" echo "* Please repair manually and reboot. Note that the root *" echo "* file system is currently mounted read-only. To remount *" echo "* it read-write type: mount -n -o remount,rw / *" echo "* When you exit the maintenance shell the system will *" echo "* reboot automatically. *" echo "* *" echo "************************************************************" echo /sbin/sulogin -p echo "Automatic reboot in progress..." /bin/umount -a /bin/mount -n -o remount,ro / /sbin/reboot -f exit 0 fi stat_done fi stat_busy "Mounting Local Filesystems" /bin/mount -n -o remount,rw / /bin/rm -f /etc/mtab* # make sure / gets written to /etc/mtab /bin/mount -o remount,rw / # re-mount /proc and /sys so they can be written to /etc/mtab umount /proc && mount -t proc none /proc [ "`grep sysfs /proc/filesystems`" ] && umount /sys && mount -t sysfs none /sys # now mount all the local filesystems /bin/mount -a -t nonfs,nosmbfs,noncpfs,nosysfs,nousbfs stat_done stat_busy "Configuring System Clock" if [ "$HARDWARECLOCK" = "UTC" ]; then /sbin/hwclock --utc --hctosys else /sbin/hwclock --localtime --hctosys fi if [ ! -f /var/lib/hwclock/adjtime ]; then echo "0.0 0 0.0" > /var/lib/hwclock/adjtime fi if [ "$TIMEZONE" != "" ]; then /bin/ln -sf /usr/share/zoneinfo/$TIMEZONE /etc/localtime fi stat_done stat_busy "Removing Leftover Files" /bin/rm -f /etc/nologin &> /dev/null /bin/rm -f /etc/shutdownpid &> /dev/null /bin/rm -f /var/locks/* &> /dev/null /bin/rm -f /var/run/*.pid &> /dev/null /bin/rm -f /var/run/daemons/* &>/dev/null /bin/rm -rf /tmp/* /tmp/.* &> /dev/null : > /var/run/utmp # Keep {x,k,g}dm happy with xorg mkdir /tmp/.ICE-unix && chmod 1777 /tmp/.ICE-unix mkdir /tmp/.X11-unix && chmod 1777 /tmp/.X11-unix stat_done status "Updating Shared Library Links" /sbin/ldconfig if [ "$HOSTNAME" != "" ]; then status "Setting Hostname: $HOSTNAME" /bin/hostname $HOSTNAME fi status "Updating Module Dependencies" /sbin/depmod -A if [ -f /var/run/random-seed ]; then stat_busy "Initializing Random Seed" /bin/cat /var/run/random-seed >/dev/urandom stat_done fi if [ "$KEYMAP" != "" ]; then status "Loading Keyboard Map: $KEYMAP" /bin/loadkeys -q $KEYMAP fi if [ "$CONSOLEFONT" != "" ]; then stat_busy "Loading Console Font: $CONSOLEFONT" for i in `seq 1 12`; do /usr/bin/setfont $CONSOLEFONT -C /dev/vc/${i}; done stat_done fi # Load modules from the MODULES array defined in rc.conf stat_busy "Loading Modules" for mod in "${MODULES[@]}"; do if [[ `echo $mod | grep '^[^\!]' | wc -l` -eq 1 ]]; then /sbin/modprobe $mod fi done stat_done # Now that modules are loaded, try to mount /proc/bus/usb [ "`grep usbfs /proc/filesystems`" ] && mount -t usbfs none /proc/bus/usb # Screen blanks after 15 minutes idle time /usr/bin/setterm -blank 15 # End of file |
![]() |
![]() |
![]() |
#25 |
Senior Member
Iscritto dal: Jul 2002
Città: Bergamo
Messaggi: 404
|
Ti dovrebbe comparire una cosa del genere
Codice:
:: Starting UDev Daemon [DONE] :: Activating Swap [FAIL] :: Mounting Root Read-only [FAIL] :: Checking Filesystems [DONE] :: Mounting Local Filesystems [BUSY] |
![]() |
![]() |
![]() |
#26 |
Senior Member
Iscritto dal: Jul 2002
Città: Novara
Messaggi: 8544
|
Ciao tutti! (ciao Johnny5)
In effetti l'ultimo post è quello che Johnny vorrebbe.. io sono un fedorista, ma ora sono sull'altro pc.. se faccio in tempo domani vi posto il mio file, così vediamo dove sta l'opzione! Byez! |
![]() |
![]() |
![]() |
#27 |
Senior Member
Iscritto dal: Dec 2001
Città: /dev/rotfl
Messaggi: 7276
|
posteresti anche /etc/rc.d/functions
secondo me quello conta di più ma forse mi sbaglio ![]()
__________________
....::::fluxbox è talmente veloce che quando digito startx, il WM aspetta che il server Xorg lo raggiunga - PiloZ::::...
|
![]() |
![]() |
![]() |
#28 |
Member
Iscritto dal: Sep 2003
Città: Novara
Messaggi: 246
|
Ciao Cemb!
Grazie Michele e PiLoZ, la strada sembra ottima! Appena finisco di preparare 'sti maledittissimi pacchettini di Natale mi leggo bene questi script e ci do sotto anch'io! |
![]() |
![]() |
![]() |
#29 |
Senior Member
Iscritto dal: Jul 2002
Città: Novara
Messaggi: 8544
|
Ecco i files! Sono dei files di testo (ho aggiunto a mano l'estensione zip senza comprimerli, solo per farli accettare come allegati al forum).
Credo anch'io che sia "functions" il file incriminato! ![]() Byez! |
![]() |
![]() |
![]() |
#30 |
Senior Member
Iscritto dal: Jul 2002
Città: Novara
Messaggi: 8544
|
Ecco l'altro!
|
![]() |
![]() |
![]() |
#31 |
Senior Member
Iscritto dal: Jul 2002
Città: Novara
Messaggi: 8544
|
conclusioni?
Sono passato a Debby e mi piacerebbe avere l'avvio grafico (quello col loghino del pinguino in alto a sx) e la visualizzazione con [OK] e [FAILED] ! Byez! |
![]() |
![]() |
![]() |
#32 |
Member
Iscritto dal: Sep 2003
Città: Novara
Messaggi: 246
|
Per il pinguino devi modificare il Kernel
Device Drivers -> Graphics Support -> Logo Configuration Per il resto io devo ancora i vari script postati. |
![]() |
![]() |
![]() |
#33 | |
Senior Member
Iscritto dal: Jul 2002
Città: Novara
Messaggi: 8544
|
Quote:
Probabilmente c'è da attivare l'avvio grafico (quello che dà sempre le stringhe di testo, ma lo fa attraverso un display a colori a 1024x768, anzichè attraverso il classico terminale monocromatico..). Per intenderci, lo stesso che si ha al boot usando distro live tipo la knopils, per chi l'ha usata.. Resto in attesa dei vostri esperimenti! ![]() |
|
![]() |
![]() |
![]() |
#34 |
Senior Member
Iscritto dal: Jun 2004
Città: Besana Briansssa
Messaggi: 521
|
provate a installare boot-icons
![]() EDIT: in debby |
![]() |
![]() |
![]() |
#35 | |
Senior Member
Iscritto dal: Jul 2002
Città: Novara
Messaggi: 8544
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#36 |
Senior Member
Iscritto dal: Jul 2002
Città: Padova
Messaggi: 4245
|
Io sulla mia debian, in fase di boot mi accontenterei di vedere il pinguino come lo vedevo sulla slackware.
Sapete come si fa? Grazie. |
![]() |
![]() |
![]() |
#37 |
Registered User
Iscritto dal: Nov 2000
Messaggi: 9315
|
installate quello che vi han suggerito.. boot-icons... esiste apt-cache search..... byez......
|
![]() |
![]() |
![]() |
#38 |
Senior Member
Iscritto dal: Aug 2002
Città: Trento
Messaggi: 40877
|
è difficile modificare la grafica di grub all'avvio?
quella di suse era veramente figa |
![]() |
![]() |
![]() |
#39 |
Senior Member
Iscritto dal: Jun 2004
Città: Besana Briansssa
Messaggi: 521
|
se apt-getti grub-splashimages ti da qualche immagine,che poi sono xpm compressi.
Però non mi garba nessuna :| a quel punto devi aggiungere una riga a /boot/grub/menu.lst che non mi ricordo quale sia,ma dovrebbe bastare cercare nei docs |
![]() |
![]() |
![]() |
#40 | |
Senior Member
Iscritto dal: Sep 2003
Città: San Mauro Torinese
Messaggi: 5402
|
Quote:
Codice:
splashimage=(hd0,0)/boot/grub/immagine.xpm.gz
__________________
Suonare come superamento, anche se per pochi attimi, della realtà costrittiva, come espressione, comunicazione, con modalità proprie, agli altri; http://www.magazzinifranti.it/ |
|
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 17:50.