From: <ale...@us...> - 2011-07-23 00:23:57
|
Revision: 389 http://kiwi-ltsp.svn.sourceforge.net/kiwi-ltsp/?rev=389&view=rev Author: alexqwesa Date: 2011-07-23 00:23:51 +0000 (Sat, 23 Jul 2011) Log Message: ----------- minor fix: don't reload/restart services twice Modified Paths: -------------- trunk/kiwi-ltsp/ltsp/include/kiwi-ltsp-functions.sh Modified: trunk/kiwi-ltsp/ltsp/include/kiwi-ltsp-functions.sh =================================================================== --- trunk/kiwi-ltsp/ltsp/include/kiwi-ltsp-functions.sh 2011-07-22 23:59:41 UTC (rev 388) +++ trunk/kiwi-ltsp/ltsp/include/kiwi-ltsp-functions.sh 2011-07-23 00:23:51 UTC (rev 389) @@ -79,7 +79,8 @@ /etc/SuSE-release /etc/mandrake-release /etc/debian_version /etc/UnitedLinux-release /etc/defkeymap.map /etc/defkeymap.name /etc/sysconfig/language /etc/sysconfig/keyboard /etc/sysconfig/clock - /etc/sysconfig/language /etc/ssh/ $KIWI_LTSP_CONF_FILE /etc/sysconfig/dhcpd" + /etc/sysconfig/language /etc/ssh/ $KIWI_LTSP_CONF_FILE /etc/sysconfig/dhcpd + /etc/sysconfig/sysctl" ALL_CONFIG_FILES="`echo $ALL_CONFIG_FILES | tr '\n' ' '`" TESTDIR="" #====================================== @@ -1239,7 +1240,7 @@ [[ -n $ACTIVATE_AND_RESTART_SERVICES ]] && \ log "Activate and restart all services which configs was changed" - ACTIVATE_AND_RESTART_SERVICES="`echo $ACTIVATE_AND_RESTART_SERVICES | sort | uniq `" + ACTIVATE_AND_RESTART_SERVICES="`echo $ACTIVATE_AND_RESTART_SERVICES | tr ' ' '\n' | sort -u`" for service in $ACTIVATE_AND_RESTART_SERVICES do if [[ `type -p insserv` ]] ; then This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |