Changeset 609a9e7 in bootscripts-standard
- Timestamp:
- May 15, 2014, 11:50:36 PM (11 years ago)
- Branches:
- master
- Children:
- 8b29156
- Parents:
- 84f3ac2
- Files:
-
- 2 added
- 104 deleted
- 7 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/Makefile
r84f3ac2 r609a9e7 1 VERSION := 1.2-pre1 01 VERSION := 1.2-pre11 2 2 3 3 ETCDIR := /etc … … 421 421 ln -sf ../init.d/kerberos ${EXTDIR}/rc.d/rc6.d/K42kerberos 422 422 423 install-LCDd: create-dirs 424 install -m ${MODE} cblfs/init.d/LCDd ${EXTDIR}/rc.d/init.d/ 425 ln -sf ../init.d/LCDd ${EXTDIR}/rc.d/rc0.d/K65LCDd 426 ln -sf ../init.d/LCDd ${EXTDIR}/rc.d/rc1.d/K65LCDd 427 ln -sf ../init.d/LCDd ${EXTDIR}/rc.d/rc2.d/K65LCDd 428 ln -sf ../init.d/LCDd ${EXTDIR}/rc.d/rc3.d/S35LCDd 429 ln -sf ../init.d/LCDd ${EXTDIR}/rc.d/rc4.d/S35LCDd 430 ln -sf ../init.d/LCDd ${EXTDIR}/rc.d/rc5.d/S35LCDd 431 ln -sf ../init.d/LCDd ${EXTDIR}/rc.d/rc6.d/K65LCDd 432 433 install-lcdproc: install-LCDd create-dirs 434 install -m ${MODE} cblfs/init.d/lcdproc ${EXTDIR}/rc.d/init.d/ 435 ln -sf ../init.d/lcdproc ${EXTDIR}/rc.d/rc0.d/K60lcdproc 436 ln -sf ../init.d/lcdproc ${EXTDIR}/rc.d/rc1.d/K60lcdproc 437 ln -sf ../init.d/lcdproc ${EXTDIR}/rc.d/rc2.d/K60lcdproc 438 ln -sf ../init.d/lcdproc ${EXTDIR}/rc.d/rc3.d/S40lcdproc 439 ln -sf ../init.d/lcdproc ${EXTDIR}/rc.d/rc4.d/S40lcdproc 440 ln -sf ../init.d/lcdproc ${EXTDIR}/rc.d/rc5.d/S40lcdproc 441 ln -sf ../init.d/lcdproc ${EXTDIR}/rc.d/rc6.d/K60lcdproc 442 423 443 install-lisa: create-dirs 424 444 install -m ${MODE} cblfs/init.d/lisa ${EXTDIR}/rc.d/init.d/ … … 908 928 rm -f ${EXTDIR}/rc.d/rc5.d/S28kerberos 909 929 rm -f ${EXTDIR}/rc.d/rc6.d/K42kerberos 930 931 uninstall-LCDd: 932 rm -f ${EXTDIR}/rc.d/init.d/LCDd 933 rm -f ${EXTDIR}/rc.d/rc0.d/K65LCDd 934 rm -f ${EXTDIR}/rc.d/rc1.d/K65LCDd 935 rm -f ${EXTDIR}/rc.d/rc2.d/K65LCDd 936 rm -f ${EXTDIR}/rc.d/rc3.d/S35LCDd 937 rm -f ${EXTDIR}/rc.d/rc4.d/S35LCDd 938 rm -f ${EXTDIR}/rc.d/rc5.d/S35LCDd 939 rm -f ${EXTDIR}/rc.d/rc6.d/K65LCDd 940 941 uninstall-lcdproc: uninstall-LCDd 942 rm -f ${EXTDIR}/rc.d/init.d/lcdproc 943 rm -f ${EXTDIR}/rc.d/rc0.d/K60lcdproc 944 rm -f ${EXTDIR}/rc.d/rc1.d/K60lcdproc 945 rm -f ${EXTDIR}/rc.d/rc2.d/K60lcdproc 946 rm -f ${EXTDIR}/rc.d/rc3.d/S40lcdproc 947 rm -f ${EXTDIR}/rc.d/rc4.d/S40lcdproc 948 rm -f ${EXTDIR}/rc.d/rc5.d/S40lcdproc 949 rm -f ${EXTDIR}/rc.d/rc6.d/K60lcdproc 910 950 911 951 uninstall-lisa: … … 1245 1285 install-iptables \ 1246 1286 install-kerberos \ 1287 install-LCDd \ 1288 install-lcdproc \ 1247 1289 install-lisa \ 1248 1290 install-lprng \ … … 1287 1329 uninstall-iptables \ 1288 1330 uninstall-kerberos \ 1331 uninstall-LCDd \ 1332 uninstall-lcdproc \ 1289 1333 uninstall-lisa \ 1290 1334 uninstall-lprng \ -
bootscripts/cblfs/init.d/ntp
r84f3ac2 r609a9e7 14 14 boot_mesg "Starting ntpd..." 15 15 ntpd -gqx 16 loadproc -p $pidfile /usr/sbin/ntpd16 loadproc /usr/sbin/ntpd -p $pidfile 17 17 ;; 18 18 -
bootscripts/clfs/init.d/cleanfs
r84f3ac2 r609a9e7 79 79 -delete || failed=1 80 80 81 boot_mesg -n " /var/lock" ${NORMAL}82 cd /var/lock &&83 find . -type f ! -newer /proc -exec rm -f {} \; || failed=184 85 boot_mesg " /var/run" ${NORMAL}86 cd /var/run &&87 find . ! -type d ! -name utmp ! -newer /proc \88 -exec rm -f {} \; || failed=189 81 > /var/run/utmp 90 82 if grep -q '^utmp:' /etc/group ; then … … 95 87 (exit ${failed}) 96 88 evaluate_retval 97 89 boot_mesg "" ${NORMAL} 98 90 if [ -e /etc/sysconfig/createfiles ]; then 99 91 if egrep -qv '^(#|$)' /etc/sysconfig/createfiles 2>/dev/null; then -
bootscripts/clfs/init.d/functions.minimal
r84f3ac2 r609a9e7 27 27 # Setup default values for environment 28 28 umask 022 29 export PATH="/ bin:/usr/bin:/sbin:/usr/sbin"29 export PATH="/tools/bin:/tools/sbin:/bin:/sbin" 30 30 31 31 # Signal sent to running processes to refresh their configuration -
bootscripts/clfs/init.d/mountfs
r84f3ac2 r609a9e7 30 30 mount -f /proc || failed=1 31 31 mount -f /sys || failed=1 32 mount -f /run || failed=1 33 mount -f /dev || failed=1 32 34 (exit ${failed}) 33 35 evaluate_retval -
bootscripts/clfs/init.d/mountkernfs
r84f3ac2 r609a9e7 22 22 if ! mountpoint /proc >/dev/null; then 23 23 boot_mesg -n " /proc" ${NORMAL} 24 mount -n /proc || failed=124 mount -n -o nosuid,noexec,nodev -t proc proc /proc || failed=1 25 25 fi 26 26 27 27 if ! mountpoint /sys >/dev/null; then 28 28 boot_mesg -n " /sys" ${NORMAL} 29 mount -n /sys || failed=129 mount -n -o nosuid,noexec,nodev -t sysfs sys /sys || failed=1 30 30 fi 31 32 boot_mesg "" ${NORMAL} 33 31 if ! mountpoint /run >/dev/null; then 32 boot_mesg -n " /run" ${NORMAL} 33 mount -n -o mode=0755,nosuid,nodev -t tmpfs run /run || failed=1 34 fi 35 if ! mountpoint /dev >/dev/null; then 36 boot_mesg -n " /dev" ${NORMAL} 37 mount -n -o mode=0755,nosuid -t devtmpfs dev /dev || failed=1 38 fi 34 39 (exit ${failed}) 35 evaluate_retval 40 41 mkdir -m 1777 /run/lock 42 mkdir -p /dev/{pts,shm} 36 43 ;; 37 44 -
bootscripts/clfs/init.d/sendsignals
r84f3ac2 r609a9e7 24 24 sleep ${KILLDELAY} 25 25 26 if [ "${error_value}" = 0 ]; then26 if [ "${error_value}" = 0 -o "${error_value}" = 2 ]; then 27 27 echo_ok 28 28 else … … 36 36 sleep ${KILLDELAY} 37 37 38 if [ "${error_value}" = 0 ]; then38 if [ "${error_value}" = 0 -o "${error_value}" = 2 ]; then 39 39 echo_ok 40 40 else -
bootscripts/clfs/init.d/udev
-
Property mode
changed from
100755
to100644
r84f3ac2 r609a9e7 22 22 case "$1" in 23 23 start) 24 boot_mesg "Creating /dev in tmpfs..."25 mount -n -t tmpfs -o mode=0755 udev /dev26 evaluate_retval27 28 boot_mesg "Copying static entries..."29 cp --preserve=all --recursive --remove-destination /lib/udev/devices/* /dev30 evaluate_retval31 32 boot_mesg "Setting Permissons on /dev/shm..."33 chmod 1777 /dev/shm34 evaluate_retval35 36 24 echo "" > /sys/kernel/uevent_helper 37 25 38 26 # start udevd 39 boot_mesg " Starting udevd..."27 boot_mesg "\nStarting udevd..." 40 28 /sbin/udevd --daemon 41 29 evaluate_retval … … 45 33 46 34 # unlikely, but we may be faster than the first event 47 mkdir -p /dev/.udev/queue35 #mkdir -p /run/.udev/queue 48 36 49 37 # configure all devices 50 /sbin/udevadm trigger 38 /sbin/udevadm trigger --action=add --type=subsystems 39 /sbin/udevadm trigger --action=add --type=devices 51 40 52 41 # this replaces the old loop, exits after all devices are done … … 72 61 ;; 73 62 74 reload)75 boot_mesg "Reloading udev rules..."76 udevadm control reload_rules77 cp --preserve=all --recursive --update /lib/udev/devices/* /dev78 evaluate_retval79 ;;80 81 force-reload)82 boot_mesg "Updating all available device nodes in /dev..."83 udevadm control reload_rules84 rm -rf /dev/.udev /dev/disk85 cp --preserve=all --recursive --update /lib/udev/devices/* /dev86 /sbin/udevadm trigger87 /sbin/udevadm settle88 evaluate_retval89 ;;90 91 63 *) 92 64 echo "Usage: $0 {start|stop|restart|status|reload|force-reload}" -
Property mode
changed from
Note:
See TracChangeset
for help on using the changeset viewer.