Lines Matching defs:log

29 # Creates an empty log file and remembers the name for future logging
42 abort "Error creating log file! Aborting..."
54 # Writes text to the log file
56 # Syntax: log text
58 log() {
66 # Writes test to standard output and to the log file
72 log "$1"
81 log "module_loaded called without an argument. Aborting..."
116 log "Please install bzip2."
128 log "Please install GNU make."
144 log "Could not find the Linux kernel header files - the directories"
145 log " /lib/modules/`uname -r`/build/include and /usr/src/linux/include"
146 log " do not exist."
159 log "Please install the GNU compiler."
170 log "Please install GNU bash."
223 log "Unable to determine the Linux distribution"
254 { log "$self: invalid arguments" && return 1; }
257 { log "$self: Pardus service script missing" && return 1; }
273 log "install_init_script: error: unknown init type"
289 { log "$self: missing argument" && return 1; }
300 log "remove_init_script: error: unknown init type"
316 { log "$self: missing argument" && return 1; }
326 log "$self: error: unknown init type"
341 { log "$self: missing argument" && return 1; }
351 log "$self: error: unknown init type"
363 { log "addrunlevel: missing argument(s)" && return 1; }
369 { log "addrunlevel: /sbin/chkconfig not found" && return 1; }
374 log "Cannot add $1 to run levels: 35" && return 1
378 log "Cannot add $1 to run levels: 35" && return 1
385 log "addrunlevel: insserv not found" && return 1;
392 { log "addrunlevel: update-rc.d not found" && return 1; }
394 { log "addrunlevel: missing second argument" && return 1; }
396 { log "addrunlevel: missing third argument" && return 1; }
404 { log "addrunlevel: update-rc.d not found" && return 1; }
410 { log "addrunlevel: name argument must be a script in /etc/rc.d/init.d" && return 1; }
422 { log "addrunlevel: start sequence number must be between 00 and 99" && return 1; }
425 { log "addrunlevel: stop sequence number must be between 00 and 99" && return 1; }
466 { log "delrunlevel: missing argument" && return 1; }
472 { log "delrunlevel: /sbin/chkconfig not found" && return 1; }
475 log "Cannot delete $1 from runlevels" && return 1
482 log "delrunlevel: insserv not found" && return 1;
488 { log "delrunlevel: update-rc.d not found" && return 1; }
493 { log "delrunlevel: update-rc.d not found" && return 1; }
526 { log "$self: missing argument" && return 1; }
536 log "$self: error: unknown init type"
548 log "$self: bad or missing chkconfig line in init script $scriptname"
574 { log "$self: missing argument" && return 1; }
584 log "$self: error: unknown init type"